Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hobord/laravel-menudb


https://github.com/hobord/laravel-menudb

Last synced: 20 days ago
JSON representation

Awesome Lists containing this project

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.

```
[

/*
* 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
```