PHPackages                             notebrainslab/filament-menu-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. notebrainslab/filament-menu-manager

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

notebrainslab/filament-menu-manager
===================================

A powerful Filament v4 &amp; v5 plugin for managing menus with multiple locations, drag &amp; drop reordering, Eloquent model support, auto-save, and dark theme.

1.0.0(2mo ago)4388↑38.9%7[1 PRs](https://github.com/notebrainslab/filament-menu-manager/pulls)MITPHPPHP ^8.2

Since Feb 23Pushed 2mo agoCompare

[ Source](https://github.com/notebrainslab/filament-menu-manager)[ Packagist](https://packagist.org/packages/notebrainslab/filament-menu-manager)[ Docs](https://github.com/notebrainslab/filament-menu-manager)[ RSS](/packages/notebrainslab-filament-menu-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (2)Used By (0)

Filament Menu Manager
=====================

[](#filament-menu-manager)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e6b0caaa43dbb7ce6387b72eed62d42c1525197cbbfe777c45640f67a66d5e40/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f7465627261696e736c61622f66696c616d656e742d6d656e752d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/notebrainslab/filament-menu-manager)[![License](https://camo.githubusercontent.com/c9a8be1b07cd416aab3dbb82a11c97f601b62d76505520b3dc0310eeb585be8f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e6f7465627261696e736c61622f66696c616d656e742d6d656e752d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/notebrainslab/filament-menu-manager)

A powerful **Filament v4 &amp; v5** plugin for managing navigation menus with:

- ✅ **Multiple Locations** — Primary, Footer, Sidebar, or any custom location
- ✅ **Drag &amp; Drop Reordering** — Powered by SortableJS with nested support
- ✅ **Button Reordering** — Up ↑ Down ↓ Indent → Outdent ← for accessibility
- ✅ **Built-in Panels** — Custom Links panel and Eloquent Model Sources panel
- ✅ **Eloquent Model Compatible** — Add Posts, Pages, or any model as menu items
- ✅ **Auto Save** — Debounced auto-save on every change (configurable)
- ✅ **Dark Theme** — Full dark mode support via CSS custom properties

---

Requirements
------------

[](#requirements)

DependencyVersionPHP`^8.2`Laravel`^12.0`Filament`^4.0 | ^5.0`Livewire`^3.0 | ^4.0`---

Installation
------------

[](#installation)

### 1. Install via Composer

[](#1-install-via-composer)

```
composer require notebrainslab/filament-menu-manager
```

### 2. Publish and run migrations

[](#2-publish-and-run-migrations)

```
php artisan filament-menu-manager:install
# or manually:
php artisan vendor:publish --tag="filament-menu-manager-migrations"
php artisan migrate
```

### 3. Register the plugin in your Panel Provider

[](#3-register-the-plugin-in-your-panel-provider)

```
use NoteBrainsLab\FilamentMenuManager\FilamentMenuManagerPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(
            FilamentMenuManagerPlugin::make()
                ->locations([
                    'primary' => 'Primary',
                    'footer'  => 'Footer',
                ])
        );
}
```

---

Configuration
-------------

[](#configuration)

Publish the config file (Optional):

```
php artisan vendor:publish --tag="filament-menu-manager-config"
```

Publish the resource files (Optional):

```
php artisan vendor:publish --tag="filament-menu-manager-views"
```

---

Plugin API (Fluent)
-------------------

[](#plugin-api-fluent)

```
FilamentMenuManagerPlugin::make()
    ->locations(['primary' => 'Primary', 'footer' => 'Footer'])
    ->modelSources([\App\Models\Post::class, \App\Models\Page::class])
    ->navigationGroup('Content')
    ->navigationIcon('heroicon-o-bars-3')
    ->navigationSort(10)
    ->navigationLabel('Menus');
```

---

Eloquent Model Sources
----------------------

[](#eloquent-model-sources)

To make an Eloquent model selectable in the **Models panel**, add the trait:

```
use NoteBrainsLab\FilamentMenuManager\Concerns\HasMenuItems;

class Post extends Model
{
    use HasMenuItems;

    // Optional: override the defaults
    public function getMenuLabel(): string  { return $this->title; }
    public function getMenuUrl(): string    { return route('posts.show', $this); }
    public function getMenuTarget(): string { return '_self'; }
    public function getMenuIcon(): ?string  { return 'heroicon-o-document'; }
}
```

Then register the model in the plugin:

```
FilamentMenuManagerPlugin::make()
    ->modelSources([\App\Models\Post::class])
```

---

Render Menus in Blade
---------------------

[](#render-menus-in-blade)

```
@php
    $manager = app(\NoteBrainsLab\FilamentMenuManager\MenuManager::class);
    $menus   = $manager->menusForLocation('primary');
    $menu    = $menus->first();
    $tree    = $menu?->getTree() ?? [];
@endphp

@foreach($tree as $item)
    {{ $item['title'] }}
    @if(!empty($item['children']))
        {{-- render children --}}
    @endif
@endforeach
```

---

Testing
-------

[](#testing)

```
composer test
```

---

Changelog
---------

[](#changelog)

See [CHANGELOG.md](CHANGELOG.md).

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE).

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance83

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

85d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/336243bce605eb938861f29d74d64abc055a00b45071b9ceadf20aa1c209c3b3?d=identicon)[shovan-notebrains](/maintainers/shovan-notebrains)

![](https://avatars.githubusercontent.com/u/29813992?v=4)[Tapan Basuli](/maintainers/tapanbasuli)[@tapanbasuli](https://github.com/tapanbasuli)

---

Top Contributors

[![shovann-notebrains](https://avatars.githubusercontent.com/u/153203151?v=4)](https://github.com/shovann-notebrains "shovann-notebrains (23 commits)")

---

Tags

laravelmenunavigationfilamentfilament-pluginmenu-manager

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/notebrainslab-filament-menu-manager/health.svg)

```
[![Health](https://phpackages.com/badges/notebrainslab-filament-menu-manager/health.svg)](https://phpackages.com/packages/notebrainslab-filament-menu-manager)
```

###  Alternatives

[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

254255.2k6](/packages/croustibat-filament-jobs-monitor)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[creagia/filament-code-field

A Filamentphp input field to edit or view code data.

58289.3k3](/packages/creagia-filament-code-field)[swisnl/filament-backgrounds

Beautiful backgrounds for Filament auth pages

54149.2k6](/packages/swisnl-filament-backgrounds)[schmeits/filament-character-counter

This is a Filament character counter TextField and Textarea form field for Filament v4 and v5

33184.7k6](/packages/schmeits-filament-character-counter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
