PHP code example of ryangjchandler / filament-navigation
1. Go to this page and download the library: Download ryangjchandler/filament-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/ */
ryangjchandler / filament-navigation example snippets
use RyanChandler\FilamentNavigation\FilamentNavigation;
return $panel
->plugin(FilamentNavigation::make());
use RyanChandler\FilamentNavigation\Models\Navigation;
$menu = Navigation::fromHandle('main-menu');