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

v4.0.5 2025-11-21 23:35 UTC

This package is auto-updated.

Last update: 2025-11-23 00:23:48 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.

Dark Theme Light Theme

📚 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.