kodeine / laravel-meta

Fluent Meta Data for Eloquent Models, as if it is a property on your model
MIT License
400 stars 90 forks source link

laravel 6 support #65

Closed siamak2 closed 4 years ago

siamak2 commented 5 years ago

I can't update to laravel 6 because composer is telling me: kodeine/laravel-meta dev-master requires illuminate/support ~5.0|~5.1 and tells me to remove this package or don't update to laravel 6

kodeine commented 5 years ago

Please try again and let me know if the issue is resolved?

siamak2 commented 5 years ago

I'm still having problem. I removed this package and upgraded to laravel 6. then added this to composer.json: "kodeine/laravel-meta": "master" and run composer install and nothing happened. composer meesage: Nothing to install or update then I tried: composer require kodeine/laravel-meta:master composer message: Problem 1

composer tries to require dev-master branch but I want master branch which is compatible with laravel 6

siamak2 commented 5 years ago

I guess this happens because package is not updated in packagist https://packagist.org/packages/kodeine/laravel-meta in packagist it's still doesn't support laravel 6

siamak2 commented 5 years ago

I put: "repositories": [ { "type": "vcs", "url": "https://github.com/kodeine/laravel-meta" } ] to composer.json and then run composer require kodeine/laravel-meta:master and installed without error. you should add "laravel/helpers" package as dependency because I got error: "undefined function camel_case" and this function is now available at "laravel/helpers" package