PHP code example of maatwebsite / laravel-sidebar

1. Go to this page and download the library: Download maatwebsite/laravel-sidebar library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

maatwebsite / laravel-sidebar example snippets


"maatwebsite/laravel-sidebar": "~2.1"

'Maatwebsite\Sidebar\SidebarServiceProvider',

`'Maatwebsite\Sidebar\Middleware\ResolveSidebars'`

php artisan vendor:publish --tag="views"

php artisan vendor:publish --tag="config"