PHPackages                             ibecsystems/admin-kit-navigation - 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. [Admin Panels](/categories/admin)
4. /
5. ibecsystems/admin-kit-navigation

ActiveAdmin-kit-package[Admin Panels](/categories/admin)

ibecsystems/admin-kit-navigation
================================

Navigation menus package for AdminKit

v3.1.0(1y ago)07841MITPHPPHP ^8.1

Since May 18Pushed 1y agoCompare

[ Source](https://github.com/IBEC-BOX/admin-kit-navigation)[ Packagist](https://packagist.org/packages/ibecsystems/admin-kit-navigation)[ Docs](https://github.com/IBEC-BOX/admin-kit-navigation)[ GitHub Sponsors](https://github.com/ryangjchandler)[ RSS](/packages/ibecsystems-admin-kit-navigation/feed)WikiDiscussions 3.x Synced today

READMEChangelog (8)Dependencies (17)Versions (14)Used By (1)

Build structured navigation menus in Filament.
==============================================

[](#build-structured-navigation-menus-in-filament)

[![Latest Version on Packagist](https://camo.githubusercontent.com/25b4c6bf87e9d923b7a77561da09d5862ab09156f7b2d82c68e1887b279634fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6962656373797374656d732f61646d696e2d6b69742d6e617669676174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ibecsystems/admin-kit-navigation)[![GitHub Tests Action Status](https://camo.githubusercontent.com/9fddd2a1cf683aaeae828c0e16d99fcfa2574dd4717f4393354116c4157d1ac5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f494245432d424f582f61646d696e2d6b69742d6e617669676174696f6e2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/IBEC-BOX/admin-kit-navigation/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/21b09d2ae345580745e0f89b6c71b5978fe86d1844d90fa99c5f364889d55aa8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f494245432d424f582f61646d696e2d6b69742d6e617669676174696f6e2f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/IBEC-BOX/admin-kit-navigation/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/e7ee821a88df704b0975612f7b6b77501a59c39f25426474b78b589a499e6756/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6962656373797374656d732f61646d696e2d6b69742d6e617669676174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ibecsystems/admin-kit-navigation)

This plugin for Filament provides a `Navigation` resource that lets you build structural navigation menus with a clean drag-and-drop UI.

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

[](#installation)

Begin by installing this package via Composer:

```
composer require ibecsystems/admin-kit-navigation
```

Run migrations.

```
php artisan migrate
```

Publish the package's assets:

```
php artisan filament:assets
```

Usage
-----

[](#usage)

You first need to register the plugin with Filament. This can be done inside of your `PanelProvider`, e.g. `AdminPanelProvider`.

```
use RyanChandler\FilamentNavigation\FilamentNavigation;

return $panel
    ->plugin(FilamentNavigation::make());
```

If you wish to customise the navigation group, sort or icon, you can use the `NavigationResource::navigationGroup()`, `NavigationResource::navigationSort()` and `NavigationResource::navigationIcon()` methods.

### Data structure

[](#data-structure)

Each navigation menu is required to have a `name` and `handle`. The `handle` should be unique and used to retrieve the menu.

Items are stored inside of a JSON column called `items`. This is a recursive data structure that looks like:

```
[
    {
        "label": "Home",
        "type": "external-link",
        "data": {
            "url": "/",
            "target": "_blank",
        },
        "children": [
            // ...
        ],
    }
]
```

The recursive structure makes it really simple to render nested menus / dropdowns:

```

    @foreach($menu->items as $item)

            {{ $item['label'] }}

            @if($item['children'])

                    {{-- Render the item's children here... --}}

            @endif

    @endforeach

```

### Retrieving a navigation object

[](#retrieving-a-navigation-object)

To retrieve a navigation object, provide the handle to the `RyanChandler\FilamentNavigation\Models\Navigation::fromHandle()` method.

```
use RyanChandler\FilamentNavigation\Models\Navigation;

$menu = Navigation::fromHandle('main-menu');
```

### Custom item types

[](#custom-item-types)

Out of the box, this plugin comes with a single "item type" called "External link". This item type expects a URL to be provided and an optional "target" (same tab or new tab).

It's possible to extend the plugin with custom item types. Custom item types have a name and an array of Filament field objects (or a `Closure` that produces an array) that will be displayed inside of the "Item" modal.

This API allows you to deeply integrate navigation menus with your application's own entities and models.

```
return $panel
    ->plugin(
        FilamentNavigation::make()
            ->itemType('post', [
                Select::make('post_id')
                    ->//...
            ])
    );
```

All custom fields for the item type can be found inside of the `data` property on the item.

### Global custom fields

[](#global-custom-fields)

There might be cases where you want all item types to have an additional set of fields. This is useful for classes, custom IDs and more.

To register global custom fields, use the `withExtraFields()` method on the plugin object.

```
return $panel
    ->plugin(
        FilamentNavigation::make()
            ->withExtraFields([
                TextInput::make('classes'),
            ]),
    );
```

### The `Navigation` field type

[](#the-navigation-field-type)

This plugin also provides a custom Filament field that can be used to search and select a navigation menu inside other forms and resources.

```
use RyanChandler\FilamentNavigation\Filament\Fields\NavigationSelect;

->schema([
    NavigationSelect::make('navigation_id'),
])
```

By default, this field will not be searchable and the value for each option will be the menu `id`.

To make the field searchable, call the `->searchable()` method.

```
->schema([
    NavigationSelect::make('navigation_id')
        ->searchable(),
])
```

If you wish to change the value for each option, call the `->optionValue()` method.

```
->schema([
    NavigationSelect::make('navigation_id')
        ->optionValue('handle'),
])
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Ryan Chandler](https://github.com/ryangjchandler)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 53.8% 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 ~37 days

Total

12

Last Release

728d ago

Major Versions

v1.0.0 → v2.0.02023-05-18

1.x-dev → v2.0.22023-07-05

2.x-dev → v3.0.02024-02-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37507557?v=4)[Anastas Mironov](/maintainers/ast21)[@ast21](https://github.com/ast21)

![](https://www.gravatar.com/avatar/2d78948375b7433f25d473b791d8b46adfe45f32b8a9cb50df414124429dc757?d=identicon)[ibecsystems](/maintainers/ibecsystems)

![](https://avatars.githubusercontent.com/u/58464833?v=4)[Dauren Kambarov](/maintainers/daurensky)[@daurensky](https://github.com/daurensky)

---

Top Contributors

[![ryangjchandler](https://avatars.githubusercontent.com/u/41837763?v=4)](https://github.com/ryangjchandler "ryangjchandler (64 commits)")[![ast21](https://avatars.githubusercontent.com/u/37507557?v=4)](https://github.com/ast21 "ast21 (9 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (8 commits)")[![daurensky](https://avatars.githubusercontent.com/u/58464833?v=4)](https://github.com/daurensky "daurensky (5 commits)")[![bumbummen99](https://avatars.githubusercontent.com/u/4533331?v=4)](https://github.com/bumbummen99 "bumbummen99 (2 commits)")[![danielbehrendt](https://avatars.githubusercontent.com/u/283437?v=4)](https://github.com/danielbehrendt "danielbehrendt (2 commits)")[![howdu](https://avatars.githubusercontent.com/u/533658?v=4)](https://github.com/howdu "howdu (2 commits)")[![blackmunk](https://avatars.githubusercontent.com/u/30363767?v=4)](https://github.com/blackmunk "blackmunk (2 commits)")[![justrau](https://avatars.githubusercontent.com/u/10882793?v=4)](https://github.com/justrau "justrau (1 commits)")[![koupisbean](https://avatars.githubusercontent.com/u/44702609?v=4)](https://github.com/koupisbean "koupisbean (1 commits)")[![Kristories](https://avatars.githubusercontent.com/u/774338?v=4)](https://github.com/Kristories "Kristories (1 commits)")[![lordjoo](https://avatars.githubusercontent.com/u/11289152?v=4)](https://github.com/lordjoo "lordjoo (1 commits)")[![mrfade](https://avatars.githubusercontent.com/u/7377876?v=4)](https://github.com/mrfade "mrfade (1 commits)")[![mynamespace](https://avatars.githubusercontent.com/u/1635905?v=4)](https://github.com/mynamespace "mynamespace (1 commits)")[![neurotools](https://avatars.githubusercontent.com/u/6556055?v=4)](https://github.com/neurotools "neurotools (1 commits)")[![NursultanIITU](https://avatars.githubusercontent.com/u/45257754?v=4)](https://github.com/NursultanIITU "NursultanIITU (1 commits)")[![sten](https://avatars.githubusercontent.com/u/180665?v=4)](https://github.com/sten "sten (1 commits)")[![atmonshi](https://avatars.githubusercontent.com/u/1952412?v=4)](https://github.com/atmonshi "atmonshi (1 commits)")[![devmatheus](https://avatars.githubusercontent.com/u/3445672?v=4)](https://github.com/devmatheus "devmatheus (1 commits)")

---

Tags

laravelryangjchandlerfilament-navigation

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ibecsystems-admin-kit-navigation/health.svg)

```
[![Health](https://phpackages.com/badges/ibecsystems-admin-kit-navigation/health.svg)](https://phpackages.com/packages/ibecsystems-admin-kit-navigation)
```

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[stephenjude/filament-debugger

About

104162.2k2](/packages/stephenjude-filament-debugger)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

274325.8k8](/packages/croustibat-filament-jobs-monitor)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

209151.3k2](/packages/guava-filament-knowledge-base)

PHPackages © 2026

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