There was an error while loading. Please reload this page.
##Installation
Require this package in your composer.json and run composer update.
composer.json
composer update
"maatwebsite/laravel-sidebar": "~2.1"
After updating composer, add the ServiceProvider to the providers array in config/app.php
config/app.php
'Maatwebsite\Sidebar\SidebarServiceProvider',
Add the package middleware to App\Http\Kernel:
App\Http\Kernel
'Maatwebsite\Sidebar\Middleware\ResolveSidebars'
To publish the default views use:
php artisan vendor:publish --tag="views"
To publish the config use:
php artisan vendor:publish --tag="config"