PHPackages                             coddin-web/filament-menu-generator - 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. coddin-web/filament-menu-generator

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

coddin-web/filament-menu-generator
==================================

1.0.0(2y ago)1214↓50%MITPHPPHP ^8.2

Since Feb 9Pushed 2y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

A NavigationMenu generator for (Laravel) Filament
=================================================

[](#a-navigationmenu-generator-for-laravel-filament)

Because of how Filament wants you to build a menu, by setting sortOrders per Resource, you have to (eventually) keep an extensive mind map of how your NavigationMenu is structured.

Because this is quite strenuous, we've created a package that will generate a NavigationMenu for you based on an array that holds all your Resources and/or Pages to create a simple 1-look view of your menu.

Installation
============

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Step 1: Require the module

[](#step-1-require-the-module)

Open a command console, enter your project directory and execute:

```
$ composer require coddin-web/filament-menu-generator
```

### Step 2: using the module

[](#step-2-using-the-module)

The abstract class `Navigation` should be extended by a class per Panel that you would like to supervise that Panel's NavigationMenu.

e.g.

```
use CoddinWeb\FilamentMenuGenerator\Navigation;

final class AdminNavigation extends Navigation
{
    #[\Override]
    public static function getMenu(): array
    {
        return [
            CustomerResource::class => [
                'group' => 'Management'
            ],
            InvoiceResource::class => [
                'group' => 'Management'
            ],

            UserResource::class => [
                'group' => 'Administration'
            ],
        ];
    }
}
```

And then within your specific Panel, you can call the `AdminNavigation` class to generate the menu.

```
// ... \App\Filament\Admin\Resources\CustomerResource.php

public static function getNavigationGroup(): string
{
    return AdminNavigation::group(self::class);
}

public static function getNavigationSort(): int
{
    return AdminNavigation::sort(self::class);
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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

821d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14ff57313528ad497507d476da9ad5274da1d988d1bad15b01045c400d2ade6c?d=identicon)[MJTheOne](/maintainers/MJTheOne)

---

Top Contributors

[![mariusjp](https://avatars.githubusercontent.com/u/1510476?v=4)](https://github.com/mariusjp "mariusjp (1 commits)")

### Embed Badge

![Health badge](/badges/coddin-web-filament-menu-generator/health.svg)

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

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[pxlrbt/filament-environment-indicator

Indicator for the current environment inside Filament

151923.9k12](/packages/pxlrbt-filament-environment-indicator)[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[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)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

118126.9k](/packages/stephenjude-filament-feature-flags)

PHPackages © 2026

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