PHP code example of emuniq / filament-collapsible-subnav
1. Go to this page and download the library: Download emuniq/filament-collapsible-subnav 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/ */
emuniq / filament-collapsible-subnav example snippets
use Emuniq\FilamentCollapsibleSubnav\CollapsibleSubnavPlugin;
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugin(CollapsibleSubnavPlugin::make());
}
bash
php artisan collapsible-subnav:install
npm run build