begicf / simple-menu
Simple LaravelMenu package from datasources
Installs: 297
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 1
pkg:composer/begicf/simple-menu
Requires
- php: ^7.2|^8.0
- laravel/framework: ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
This package is auto-updated.
Last update: 2025-10-17 08:54:36 UTC
README
Laravel simple Menu from data source
This package is customized for bootstrap 4. *. If you want to change the layout for other css libraries then you need to publish resources (see 'Publish resources' section ).
Install
composer require begicf/simple-menu
Register Service Provider
Go in 'config/app.php' file.
Find array providers and add this element to register provider:
\SimpleMenu\SimpleMenuServiceProvider::class
Migrate
php artisan migrate
SQL Menu table
| Name | Type |
|---|---|
| id | int |
| parent_id | int |
| title | varchar (255) |
| description | varchar (255) |
| order | int |
| created_at | timestamp |
| update_at | timestamp |
How to use
Put in view blade template
<x-menu-menu-component type="v" />
Publish resources
php artisan vendor:publish --provider="SimpleMenu\SimpleMenuServiceProvider"
Example
<ul class="navbar-nav mr-auto"> <x-menu-menu-component type="v" /> </ul>

