Package Data | |
---|---|
Maintainer Username: | sciarcinski |
Maintainer Contact: | slawgos@gmail.com (Sławomir Ciarciński) |
Package Create Date: | 2016-08-13 |
Package Last Update: | 2019-12-16 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-11 15:09:43 |
Package Statistics | |
---|---|
Total Downloads: | 194 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 0 |
Total Forks: | 0 |
Total Open Issues: | 0 |
composer require sciarcinski/laravel-menu
in console to install this module
config/app.php
and:Sciarcinski\LaravelMenu\MenusServiceProvider::class,
'Menu' => Sciarcinski\LaravelMenu\Facades\Menu::class,
To get started run:
php artisan menu:make TestMenu
This will create a file: App\Menus\TestMenu
To render the menu in your view:
<ul>
{!! Menu::get('test_menu')->render() !!}
</ul>