rinvex / laravel-categories

Rinvex Categorizable is a polymorphic Laravel package, for category management. You can categorize any eloquent model with ease, and utilize the power of Nested Sets, and the awesomeness of Sluggable, and Translatable models out of the box.
MIT License
454 stars 67 forks source link

need to update service provider path #10

Closed pilishen closed 6 years ago

pilishen commented 6 years ago

not a big problem, but when using under laravel 5.5, which haven't support package autodiscovering, the service provider path registered in config/app.php should be updated into :

Rinvex\Categorizable\Providers\CategorizableServiceProvider::class,

u see, it's now under providers folder

also need to update the readme page

thanks

pilishen commented 6 years ago

also in your related model, u should update the category model path and categorizable trait path:

use Rinvex\Categorizable\Models\Category;
use Rinvex\Categorizable\Traits\Categorizable;
Omranic commented 6 years ago

Please note that master branch is completely different than develop branch, and while the develop branch is the most updated, we will merge into master soon but will drop support for any Laravel versions less than v5.5