awebdesign / laravel-sidebar
A sidebar builder for Laravel
Requires
- php: >=5.4.0
- illuminate/cache: ~5.0|~6.0|~7.0|~8.0|~9.0|~10.0
- illuminate/container: ~5.0|~6.0|~7.0|~8.0|~9.0|~10.0
- illuminate/contracts: ~5.0|~6.0|~7.0|~8.0|~9.0|~10.0
- illuminate/routing: ~5.0|~6.0|~7.0|~8.0|~9.0|~10.0
- illuminate/support: ~5.0|~6.0|~7.0|~8.0|~9.0|~10.0
- illuminate/view: ~5.0|~6.0|~7.0|~8.0|~9.0|~10.0
Requires (Dev)
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.1
This package is not auto-updated.
Last update: 2024-10-26 15:57:14 UTC
README
Installation
Require this package in your composer.json
and run composer update
.
"maatwebsite/laravel-sidebar": "~3.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"
Documentation
See the wiki: https://github.com/Maatwebsite/Laravel-Sidebar/wiki
Contributing
ALL contributions should be made to appropriate branch (e.g. 2.0 for 2.0.* bug fixes). Bug fixes should never be sent to the master branch.
We follow PSR-1, PSR-2 and PSR-4 coding styles.
Added or fixed functionality should be backed with unit tests.
License
This package is licensed under MIT. You are free to use it in personal and commercial projects.