Package Data | |
---|---|
Maintainer Username: | spartner |
Maintainer Contact: | patrick@maatwebsite.nl (Maatwebsite.nl) |
Package Create Date: | 2015-02-13 |
Package Last Update: | 2024-05-29 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-30 15:03:14 |
Package Statistics | |
---|---|
Total Downloads: | 309,484 |
Monthly Downloads: | 1,481 |
Daily Downloads: | 47 |
Total Stars: | 111 |
Total Watchers: | 15 |
Total Forks: | 58 |
Total Open Issues: | 2 |
Require this package in your composer.json
and run composer update
.
"maatwebsite/laravel-sidebar": "~2.1"
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"
See the wiki: https://github.com/Maatwebsite/Laravel-Sidebar/wiki
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.
This package is licensed under MIT. You are free to use it in personal and commercial projects.