PHPackages                             accelade/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. [Templating &amp; Views](/categories/templating)
4. /
5. accelade/navigation

ActiveLibrary[Templating &amp; Views](/categories/templating)

accelade/navigation
===================

Build beautiful, accessible navigation menus for Laravel applications with Blade components

1.0.0(5mo ago)00[1 PRs](https://github.com/accelade/navigation/pulls)MITBladePHP ^8.2|^8.3|^8.4CI passing

Since Jan 19Pushed 2mo agoCompare

[ Source](https://github.com/accelade/navigation)[ Packagist](https://packagist.org/packages/accelade/navigation)[ GitHub Sponsors](https://github.com/fadymondy)[ RSS](/packages/accelade-navigation/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (6)Versions (4)Used By (0)

Accelade Navigation
===================

[](#accelade-navigation)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ce30be2f0ea7509d8387636815e7b96f70537731b694d4d2c10c8909efb1dbad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616363656c6164652f6e617669676174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/accelade/navigation)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4584ed73e64f6d4c82da631319614c85da17d4389da4f1e3ad15e95445d492a0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616363656c6164652f6e617669676174696f6e2f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/accelade/navigation/actions?query=workflow%3Atests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/3d1ae80b37484f911e194ab1fc1736de27609e52e63f6937d8e20ae3de20ba85/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616363656c6164652f6e617669676174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/accelade/navigation)

Build beautiful, accessible navigation menus for Laravel applications with Blade components. Part of the Accelade ecosystem.

Features
--------

[](#features)

- **Blade Components** - ``, ``, ``
- **Flexible Layouts** - Vertical sidebars, horizontal headers, or custom arrangements
- **Collapsible Groups** - Organize items into expandable/collapsible sections
- **Badges** - Display counts, status indicators, or labels with color variants
- **Icons** - Support for Heroicons and custom icon sets
- **Active State Detection** - Automatic or manual active state handling
- **PHP Builder API** - Build navigation programmatically with `NavigationItem` and `NavigationGroup` classes
- **Panel Integration** - Seamlessly integrates with `accelade/panel` for admin interfaces

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

[](#installation)

You can install the package via composer:

```
composer require accelade/navigation
```

You can publish the config file with:

```
php artisan vendor:publish --tag="navigation-config"
```

Quick Start
-----------

[](#quick-start)

### Basic Navigation

[](#basic-navigation)

```

```

### Navigation Groups

[](#navigation-groups)

```

```

### Horizontal Navigation

[](#horizontal-navigation)

```

```

### PHP Builder API

[](#php-builder-api)

```
use Accelade\Navigation\NavigationItem;
use Accelade\Navigation\NavigationGroup;

$navigation = [
    NavigationItem::make('Dashboard')
        ->icon('heroicon-o-home')
        ->url('/dashboard'),

    NavigationGroup::make('Content')
        ->icon('heroicon-o-folder')
        ->items([
            NavigationItem::make('Posts')
                ->icon('heroicon-o-newspaper')
                ->url('/posts')
                ->badge(fn () => Post::count()),
            NavigationItem::make('Pages')
                ->icon('heroicon-o-document')
                ->url('/pages'),
        ]),
];
```

Documentation
-------------

[](#documentation)

The package includes comprehensive documentation available in the Accelade docs portal:

- [Getting Started](docs/getting-started.md) - Installation and basic usage
- [Nav Item](docs/nav-item.md) - Item configuration and options
- [Nav Group](docs/nav-group.md) - Collapsible groups and nesting

### Badge Colors

[](#badge-colors)

Available badge colors: `primary`, `success`, `warning`, `danger`, `info`, `gray`

```

```

Testing
-------

[](#testing)

```
# Run tests
composer test

# Run tests with coverage
composer test:coverage

# Run code formatter
composer format

# Run mago linter
composer mago
```

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](.github/SECURITY.md) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Fady Mondy](https://github.com/3x1io)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance78

Regular maintenance activity

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

165d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2147eb2fca7ab5f0124d0fafd88ba2d2a5dfa3a0036fb8872d1084b7cba29366?d=identicon)[fadymondy](/maintainers/fadymondy)

---

Top Contributors

[![fadymondy](https://avatars.githubusercontent.com/u/11937812?v=4)](https://github.com/fadymondy "fadymondy (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

laravelmenunavigationsidebarblade-componentsaccelade

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/accelade-navigation/health.svg)

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

###  Alternatives

[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5443.8k](/packages/hasinhayder-tyro-dashboard)[ublabs/blade-simple-icons

A package to easily make use of Simple Icons in your Laravel Blade views.

1963.4k](/packages/ublabs-blade-simple-icons)[technikermathe/blade-lucide-icons

A package to easily make use of Lucide icons in your Laravel Blade views.

18421.4k11](/packages/technikermathe-blade-lucide-icons)[developermithu/tallcraftui

TallCraftUI is a Laravel blade UI components library built on TALL stack

1663.3k](/packages/developermithu-tallcraftui)

PHPackages © 2026

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