PHP code example of devletes / filament-pinnable-navigation
1. Go to this page and download the library: Download devletes/filament-pinnable-navigation 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/ */
devletes / filament-pinnable-navigation example snippets
use Devletes\FilamentPinnableNavigation\PinnableNavigationPlugin;
use Filament\Panel;
public function panel(Panel $panel): Panel
{
return $panel
->default()
->id('admin')
->path('admin')
->plugin(PinnableNavigationPlugin::make());
}