PHP code example of slym758 / filament-collapsible-sidebar

1. Go to this page and download the library: Download slym758/filament-collapsible-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/ */

    

slym758 / filament-collapsible-sidebar example snippets


use Slym758\CollapsibleSidebar\CollapsibleSidebarPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            CollapsibleSidebarPlugin::make(),
        ]);
}