PHPackages                             ak-media/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. ak-media/filament-menu-manager

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

ak-media/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.1(2mo ago)01MITPHPPHP ^8.2|^8.3

Since May 21Pushed 2mo agoCompare

[ Source](https://github.com/Sirajunnasihin/filament-menu-manager)[ Packagist](https://packagist.org/packages/ak-media/filament-menu-manager)[ Docs](https://github.com/notebrainslab/filament-menu-manager)[ RSS](/packages/ak-media-filament-menu-manager/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (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 | ^8.3`Laravel`^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 ak-media/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

38

—

LowBetter than 83% of packages

Maintenance87

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.2% 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

65d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bdbbe9ef4ad68474c20190ce9d29c04c5a7c62505b01e5e7254ded7b482f8acf?d=identicon)[Sirajunnasihin](/maintainers/Sirajunnasihin)

---

Top Contributors

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

---

Tags

laravelmenunavigationfilamentfilament-pluginmenu-manager

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

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

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

274333.4k9](/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.

330530.5k30](/packages/codewithdennis-filament-select-tree)[stephenjude/filament-debugger

About

104162.2k2](/packages/stephenjude-filament-debugger)[finity-labs/fin-mail

A powerful email template manager and composer for Filament with dynamic token replacement, template versioning, and inline email sending.

284.8k2](/packages/finity-labs-fin-mail)

PHPackages © 2026

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