hobord/menu_db

lavary menu system in database

dev-master 2016-11-27 13:53 UTC

This package is not auto-updated.

Last update: 2024-11-09 20:33:58 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