AliBayat / Laravel-Categorizable

Implementing Categories system for Laravel's Eloquent models.
MIT License
60 stars 10 forks source link

sub-categories #8

Closed mohsenmehri6101 closed 2 years ago

mohsenmehri6101 commented 2 years ago

can define sub_categories with this package or not ? how?

AliBayat commented 2 years ago

of course multi level categories can be achieved, reffer to the documentation

if you need some special level of categories to behave differently, you can create a new model and inherite the Category model in the package instead of Eloquent\Model. then easily add your custom methods.