This is a package use to management multiple categories for laravel.
Via Composer
$ composer require kun391/laravel-categories
Add the following to your composer.json file :
"require": {
"kun391/laravel-categories": "dev-master",
},
Then register service provider with in config/app.php:
'providers' => [
...
'Kun\Categories\CategoriesServiceProvider::class',
]
Finally, you should run the command to publish assets of the package.
php artisan vendor:publish --tag=public --force
In this package, I used the Forms & HTML. If you change the alias of this one. You should publish file config and modify it.
php artisan vendor:publish --tag=config
then
return [
'providers' => [
'Collective\Html\HtmlServiceProvider'
],
'aliases' => [
'form' => [
'alias_name' => 'Form',
'alias' => 'Collective\Html\FormFacade'
],
'html' => [
'alias_name' => 'Html',
'alias' => 'Collective\Html\HtmlFacade'
],
]
];
If you want to custom views or translations, you can publish views/translations.
php artisan vendor:publish --tag=views
php artisan vendor:publish --tag=translations
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
The MIT License (MIT). Please see License File for more information.