cviebrock / eloquent-taggable

Easily add the ability to tag your Eloquent models in Laravel.
MIT License
559 stars 72 forks source link

Eloquent-taggable not installing on laravel 5.2 #45

Closed zohaib055 closed 7 years ago

zohaib055 commented 7 years ago

i have been using laravel 5.2 and i have composer.json file having the following dependency

"cviebrock/eloquent-taggable": "dev-master", but it throughs an error i manually put the package in vendor

but it throughs an error Class 'Cviebrock\EloquentTaggable\ServiceProvider' not found let me know the how to fix this issue i will thankful

cviebrock commented 7 years ago

You need to pin the version to 2.0 if you are using Laravel 5.2. dev-master would be for Laravel 5.4+

"cviebrock/eloquent-taggable": "2.0.*"
zohaib055 commented 7 years ago

ok thanks got it working