hobord / menu_db
lavary menu system in database
dev-master
2016-11-27 13:53 UTC
Requires
- laravel/framework: 5.3.*
- lavary/laravel-menu: ^1.6
Suggests
- santigarcor/laratrust: Add permissions to menuitems
This package is not auto-updated.
Last update: 2024-12-21 21:14:24 UTC
README
#Menu db for lavary/laravel-menu
##Insatlation
Install lavary/laravel-menu -> https://github.com/lavary/laravel-menu
composer require hobord/menu_db
Now, append service provider to providers array in config/app.php.
<?php
'providers' => [
/*
* Laravel Framework Service Providers...
*/
Illuminate\Foundation\Providers\ArtisanServiceProvider::class,
Illuminate\Auth\AuthServiceProvider::class,
Illuminate\Broadcasting\BroadcastServiceProvider::class,
...
'Lavary\Menu\ServiceProvider',
...
Hobord\MenuDb\MenuDbServiceProvider::class,
...
],
?>
Publish the migration:
php artisan vendor:publish
composer dump-autoload
Create the tables:
php artisan migrate