jarektkaczyk / eloquence

Extensions for the Eloquent ORM
http://softonsofa.com
MIT License
1.09k stars 142 forks source link

laravel 6 update? #251

Open lorvent opened 5 years ago

lorvent commented 5 years ago

Hello, are you planning to provide a laravel 6 update?

thanks.

hasnatbabur commented 5 years ago

@jarektkaczyk @lukasoppermann Thanks for this awesome library. Any hope for Laravel 6 support yet? We are waiting highly. Thanks.

lukasoppermann commented 5 years ago

Hey, I only helped with some PRs. Credit for this goes to @jarektkaczyk

I am not working on any laravel projects anymore, sorry.

lorvent commented 5 years ago

@hasnatbabur in my app, i have used this package only once and when they didn't update for laravel6, i decided to update it with a query directly

so if you are not relying on package much, probably you can consider same.

jarektkaczyk commented 5 years ago

tagged v6 #250 250

jarektkaczyk commented 5 years ago

seems like a few BC changes were introduced, so fixes will be necssary.

Feel free to make a PR fixing 👍

chrisgo commented 5 years ago

Hi, thanks for this great library! Could you possibly change the composer.json to allow laravel 6.0.* instead of just 6.0 so it would be more forgiving for composer require sofa/eloquence? Thank you

jarektkaczyk commented 5 years ago

@chrisgo it should allow anything >=6.0 & < 7.0

https://getcomposer.org/doc/articles/versions.md#next-significant-release-operators

or am I missing something?

princeteck commented 5 years ago

@jarektkaczyk think the issue is that its >=6.0 and not >=6.0.* as laravel 6 is now on v6.0.1

  • don't install illuminate/database 5.7.17|don't install laravel/framework v6.0.1
    • don't install illuminate/database 5.7.18|don't install laravel/framework v6.0.1
    • don't install illuminate/database 5.7.19|don't install laravel/framework v6.0.1
    • don't install illuminate/database 5.7.x-dev|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.0|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.1|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.10|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.11|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.15|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.2|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.20|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.21|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.22|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.23|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.26|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.27|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.28|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.3|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.4|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.5|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.6|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.7|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.8|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.7.9|don't install laravel/framework v6.0.1
    • don't install illuminate/database 5.8.x-dev|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.0|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.11|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.12|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.14|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.15|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.17|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.18|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.19|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.2|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.20|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.22|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.24|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.27|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.28|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.29|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.3|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.30|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.31|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.32|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.33|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.34|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.35|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.4|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.8|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.8.9|don't install laravel/framework v6.0.1
    • don't install illuminate/database 5.6.x-dev|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.0|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.1|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.10|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.11|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.12|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.13|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.14|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.15|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.16|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.17|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.19|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.2|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.20|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.21|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.22|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.23|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.24|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.25|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.26|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.27|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.28|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.29|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.3|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.30|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.31|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.32|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.33|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.34|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.35|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.36|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.37|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.38|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.39|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.4|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.5|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.6|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.7|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.8|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.6.9|don't install laravel/framework v6.0.1
    • don't install illuminate/database 5.5.x-dev|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.0|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.16|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.17|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.2|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.28|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.33|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.34|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.35|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.36|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.37|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.39|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.40|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.41|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.43|don't install laravel/framework v6.0.1
    • don't install illuminate/database v5.5.44|don't install laravel/framework v6.0.1
    • Installation request for laravel/framework (locked at v6.0.1, required as ^6.0) -> satisfiable by laravel/framework[v6.0.1].

princeteck commented 5 years ago

composer require sofa/eloquence-base worked for me for search table so i think its just small mistake in composer file i suppose...

mohammad76 commented 5 years ago

I have problem with this package

` - Installation request for sofa/eloquence ^6.0 -> satisfiable by sofa/eloquence[v6].

this is for some problem with sofa/eloquence-mappable can you fix this?

manuel-84 commented 5 years ago

I had to install and enable the helpers to make it work with Laravel 6.0

composer require laravel/helpers

String and Array Helpers are removed from Core Framework https://laravel.com/docs/6.0/upgrade#helpers

SaphiLC commented 5 years ago

still not working, using laravel 6.5.1

pejold commented 4 years ago

I cannot install this package because it has dependency on eloquence-mappable and actually I need 'mappable' feature. It seems eloquence-mappable subpackage is not compatible with Laravel 6.x

  Problem 1
    - Installation request for sofa/eloquence-mappable ^5.6 -> satisfiable by sofa/eloquence-mappable[5.6].
    - Conclusion: remove laravel/framework v6.6.0
    - Conclusion: don't install laravel/framework v6.6.0
    - sofa/eloquence-mappable 5.6 requires sofa/eloquence-base ^5.5 -> satisfiable by sofa/eloquence-base[5.5.x-dev, 5.6, 5.6.1, v5.5, v5.6.2, v5.6.3].
...
...
breaktag commented 4 years ago

Not working for me either in Laravel 6.*

Problem 1
    - sofa/eloquence-mappable v5.5.1 requires sofa/eloquence-base 5.5.* -> satisfiable by sofa/eloquence-base[5.5.x-dev, v5.5] but these conflict with your requirements or minimum-stability.
    - sofa/eloquence-mappable v5.5 requires sofa/eloquence-base 5.5.* -> satisfiable by sofa/eloquence-base[5.5.x-dev, v5.5] but these conflict with your requirements or minimum-stability.
    - sofa/eloquence-mappable 5.6 requires sofa/eloquence-base ^5.5 -> satisfiable by sofa/eloquence-base[5.5.x-dev, 5.6, 5.6.1, v5.5, v5.6.2, v5.6.3] but these conflict with your requirements or minimum-stability.
    - sofa/eloquence v6 requires sofa/eloquence-mappable ^5.5|^6.0 -> satisfiable by sofa/eloquence-mappable[5.6, v5.5, v5.5.1].
    - Installation request for sofa/eloquence 6.0.* -> satisfiable by sofa/eloquence[v6].
PeraMika commented 4 years ago

After reading comments here - I'm worried about upgrading my project to 6. (it is using eloquence-base / Searchable... and soon I'll have to move to Laravel 6 [LTS]. I'll wait a little while and then I'll have to find some solution. There are some "alternatives" but, in my opinion, not as good as Eloquence Searchable).

pakogn commented 3 years ago

Hi, All

just install it with composer require sofa/eloquence:dev-master now.

Had told to @jarektkaczyk via Twitter to kindly review this repo. And what a fortune to receive his attention.

Thanks @jarektkaczyk, works like a charm!