-
Notifications
You must be signed in to change notification settings - Fork 58
Home
Patrick Brouwers edited this page Jun 21, 2015
·
6 revisions
##Installation
Require this package in your composer.json
and run composer update
.
"maatwebsite/laravel-sidebar": "~2.0.0"
After updating composer, add the ServiceProvider to the providers array in config/app.php
'Maatwebsite\Sidebar\SidebarServiceProvider',
Add the package middleware to 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"