PHP code example of sciarcinski / laravel-menu
1. Go to this page and download the library: Download sciarcinski/laravel-menu 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/ */
sciarcinski / laravel-menu example snippets
composer
Sciarcinski\LaravelMenu\MenusServiceProvider::class,
'Menu' => Sciarcinski\LaravelMenu\Facades\Menu::class,
php artisan menu:make TestMenu
html
<ul>
{!! Menu::get('test_menu')->render() !!}
</ul>