Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hobord/laravel-menudb
https://github.com/hobord/laravel-menudb
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hobord/laravel-menudb
- Owner: hobord
- Created: 2016-11-17T14:51:21.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-27T13:53:29.000Z (about 8 years ago)
- Last Synced: 2024-04-17T11:30:21.058Z (10 months ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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
```