| Package Data | |
|---|---|
| Maintainer Username: | kun391 |
| Maintainer Contact: | nguyentruongthanh.dn@gmail.com (Thanh Nguyen) |
| Package Create Date: | 2016-01-21 |
| Package Last Update: | 2016-05-25 |
| Language: | JavaScript |
| License: | MIT |
| Last Refreshed: | 2025-10-29 03:05:33 |
| Package Statistics | |
|---|---|
| Total Downloads: | 19 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 4 |
| Total Watchers: | 2 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
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.