Looking to hire Laravel developers? Try LaraJobs

laravel-menu maintained by sciarcinski

Description
Menu generator package for the Laravel 5.*, Laravel 6.0 framework
Last update
2019/12/16 16:30 (dev-master)
License
Links
Downloads
195

Comments
comments powered by Disqus

Laravel 5., 6. Menu

Installation

  1. Run
composer require sciarcinski/laravel-menu

in console to install this module

  1. Open config/app.php and:

Service Provider

Sciarcinski\LaravelMenu\MenusServiceProvider::class,

Facade

'Menu' => Sciarcinski\LaravelMenu\Facades\Menu::class,

Getting started

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>