biostate / filament-menu-builder
An Elegant Menu Builder for FilamentPHP
Fund package maintenance!
Biostate
Installs: 7 778
Dependents: 0
Suggesters: 0
Security: 0
Stars: 42
Watchers: 1
Forks: 18
pkg:composer/biostate/filament-menu-builder
Requires
- php: ^8.2
- filament/filament: ^4.0
- filament/forms: ^4.0
- filament/tables: ^4.0
- kalnoy/nestedset: ^6.0
- spatie/laravel-package-tools: ^1.15.0
- spatie/laravel-sluggable: ^3.6
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^8.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^9.14
- pestphp/pest: ^2.1
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
README
Note: If you have any suggestions, feel free to create an issue.
This package offers a powerful menu builder for the Filament admin panel, enabling efficient menu creation and management.
- Integrate models and routes into menu items for dynamic and flexible navigation.
- Render menus with Blade components for consistency and adaptability.
Built for simplicity and performance, this package ensures a seamless solution for managing menus in the Filament admin panel.
📚 Documentation
Full documentation is available at: https://biostate.gitbook.io/filament-menu-builder
Version Compatibility
| Filament Version | Package Version | Composer Command |
|---|---|---|
| v3 | 1.x | composer require biostate/filament-menu-builder:^1.0 |
| v4 | 4.x | composer require biostate/filament-menu-builder:^4.0 |
Quick Start
Install the package via Composer using the appropriate version from the compatibility table above:
Add the plugin to your AdminPanelServiceProvider.php:
public function panel(Panel $panel): Panel { return $panel ->plugins([ \Biostate\FilamentMenuBuilder\FilamentMenuBuilderPlugin::make(), ]); }
Publish and run migrations:
php artisan vendor:publish --tag="filament-menu-builder-migrations"
php artisan migrate
For detailed installation instructions and configuration, see the Installation Guide.
TODO
- add parameters like mega menu, dropdown, etc.
- add tests
- add tailwind blade component
- add "Do you want to discard the changes?" if you have unsaved changes
- add more actions like: move up, move down, move one level up, move one level down, etc.
- add duplicate with children action
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.

