| Package Data | |
|---|---|
| Maintainer Username: | Renfos |
| Maintainer Contact: | info@renfos.com (Renfos Technologies Pvt. Ltd.) |
| Package Create Date: | 2016-02-21 |
| Package Last Update: | 2025-03-21 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-23 15:01:04 |
| Package Statistics | |
|---|---|
| Total Downloads: | 162 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 1 |
| Total Watchers: | 1 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
This is a Laravel 5 package that provides menu interface for litepie framework.
Begin by installing this package through Composer. Edit your project's composer.json file to require litepie/menu.
"litepie/menu": "dev-master"
Next, update Composer from the Terminal:
composer update
Once this operation completes, the final step is to add the service provider and menu alias. Open app/config/app.php, and add a new item to the providers array.
'Litepie\Menu\MenuServiceProvider'
And also add it to alias
'Menu' => 'Litepie\Menu\Facades\Menu',
Use the below commands for publishing
Migration and seeds
php artisan vendor:publish --provider="Litepie\Menu\Providers\MenuServiceProvider" --tag="migrate"
php artisan vendor:publish --provider="Litepie\Menu\Providers\MenuServiceProvider" --tag="seeds"
Configuration
php artisan vendor:publish --provider="Litepie\Menu\Providers\MenuServiceProvider" --tag="config"
Views
php artisan vendor:publish --provider="Litepie\Menu\Providers\MenuServiceProvider" --tag="view-menu"
php artisan vendor:publish --provider="Litepie\Menu\Providers\MenuServiceProvider" --tag="view-admin"
You are done!
On the view page just call
{{Menu::menu('key-of-the-root-menu')}}
Menu Configuration