rtconner / laravel-tagging

Tag support for Laravel Eloquent models - Taggable Trait
MIT License
882 stars 168 forks source link

Is rtconner/laravel-tagging compatible with Laravel 5.4? #148

Closed dhilowitz closed 6 years ago

dhilowitz commented 6 years ago

The reason I'm asking is that I'm upgrading my webapp from 5.3 to 5.4 and getting this error:

(1/1) BindingResolutionException
Target [Conner\Tagging\Contracts\TaggingUtility] is not instantiable. 

I'm trying to figure out whether the problem is with laravel-tagging itself or if it's something I did wrong in my upgrade.

dhilowitz commented 6 years ago

Ah, got it to work. I simply needed to add:

\Conner\Tagging\Providers\TaggingServiceProvider::class,

to the $providers array in my config/app.php.