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.

2.0.0(1mo ago)81.8k↑75.6%8MITPHPPHP ^8.2

Since Feb 23Pushed 1mo 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 2d ago

READMEChangelogDependencies (14)Versions (3)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`^11.0 | ^12.0 | ^13.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',
                ])
        );
}
```

---

Upgrade Guide
-------------

[](#upgrade-guide)

### Upgrade from v1.0 → v2.0

[](#upgrade-from-v10--v20)

If you are upgrading from **v1.0**, run the following commands to install the latest version and publish the updated configuration file.

### Step 1: Update the package

[](#step-1-update-the-package)

```
composer require notebrainslab/filament-menu-manager:^2.0
```

### Step 2: Republish the configuration

[](#step-2-republish-the-configuration)

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

> The `--force` flag will overwrite your existing configuration file with the latest v2.0 version.

---

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')
    ->authentication(function () {
        return auth()->user()->can('View:MenuManagerPage');

        // Expected boolean value: true or false
        // Based on your permission matrix
    }),
```

---

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 child items --}}
    @endif
@endforeach
```

---

Testing
-------

[](#testing)

```
composer test
```

---

Changelog
---------

[](#changelog)

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

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE).

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance92

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

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

Every ~93 days

Total

2

Last Release

38d ago

Major Versions

1.0.0 → 2.0.02026-05-27

### 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 (25 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

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

274326.6k8](/packages/croustibat-filament-jobs-monitor)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[stephenjude/filament-debugger

About

104162.2k2](/packages/stephenjude-filament-debugger)[dotswan/filament-map-picker

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

128192.3k3](/packages/dotswan-filament-map-picker)

PHPackages © 2026

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