PHPackages                             devletes/filament-pinnable-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. devletes/filament-pinnable-navigation

ActiveLibrary

devletes/filament-pinnable-navigation
=====================================

Pinnable navigation support for Filament 5 panels.

v1.0.2(1mo ago)318—0%MITPHPPHP ^8.2CI passing

Since Mar 18Pushed 1mo agoCompare

[ Source](https://github.com/devletes/filament-pinnable-navigation)[ Packagist](https://packagist.org/packages/devletes/filament-pinnable-navigation)[ Docs](https://github.com/devletes/filament-pinnable-navigation)[ RSS](/packages/devletes-filament-pinnable-navigation/feed)WikiDiscussions main Synced 1mo ago

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

Filament Pinnable Navigation
============================

[](#filament-pinnable-navigation)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6cc0b0feb13c3829749e37aae96a669d742dd04fe82b99d28f75fc4cf0d80ab9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465766c657465732f66696c616d656e742d70696e6e61626c652d6e617669676174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/devletes/filament-pinnable-navigation)[![Total Downloads](https://camo.githubusercontent.com/564b59e8132fa561b0fd89f940b143089936db9e3f4593960cbd0ee2fc201d01/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6465766c657465732f66696c616d656e742d70696e6e61626c652d6e617669676174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/devletes/filament-pinnable-navigation)[![License](https://camo.githubusercontent.com/c42b013539bb70975f8aeb10c27a640251c902033eac668f9ce57b5130b19bfc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6465766c657465732f66696c616d656e742d70696e6e61626c652d6e617669676174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/devletes/filament-pinnable-navigation)[![GitHub Stars](https://camo.githubusercontent.com/55d3c46c4ff9561223566093c36c909e6c56335a010a8d556a5606cca89dd686/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6465766c657465732f66696c616d656e742d70696e6e61626c652d6e617669676174696f6e3f7374796c653d666c61742d737175617265)](https://github.com/devletes/filament-pinnable-navigation/stargazers)

Allow users to dynamically pin sidebar navigation items to a pinned group.

Requirements
------------

[](#requirements)

- PHP `^8.2`
- Filament `^5.0`

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

[](#installation)

```
composer require devletes/filament-pinnable-navigation
```

Register the plugin on any panel:

```
use Devletes\FilamentPinnableNavigation\PinnableNavigationPlugin;
use Filament\Panel;

public function panel(Panel $panel): Panel
{
    return $panel
        ->default()
        ->id('admin')
        ->path('admin')
        ->plugin(PinnableNavigationPlugin::make());
}
```

Configuration
-------------

[](#configuration)

Publish the config file if you want to customize behavior:

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

Default configuration:

```
return [
    'database_enabled' => false,
    'table_name' => 'pinned_navigation_items',
    'group_title' => 'Pinned',
    'group_icon' => 'heroicon-o-star',
    'pin_icon' => 'heroicon-o-star',
    'unpin_icon' => 'heroicon-s-star',
    'show_in_resource' => true,
    'accordion_mode' => true,
];
```

Configuration options:

- `database_enabled`: Persist pins in the database instead of browser localStorage.
- `table_name`: Database table used when database persistence is enabled.
- `group_title`: Label used for the synthetic pinned group.
- `group_icon`: Optional icon shown for the pinned group.
- `pin_icon`: Icon used when an item is not pinned.
- `unpin_icon`: Icon used when an item is already pinned.
- `show_in_resource`: Show the page-header pin toggle on Filament resource index pages.
- `accordion_mode`: Keep only one managed navigation group open at a time. Disable it to fall back to Filament's default grouped navigation behavior.

Persistence
-----------

[](#persistence)

By default, pin state is stored in browser localStorage per panel and authenticated user. No migration is required in this mode.

If you want to persist pins in the database instead:

1. Publish the config file.
2. Publish the package migrations.
3. Set `database_enabled` to `true`.
4. Run migrations.

```
php artisan vendor:publish --tag="pinnable-navigation-migrations"
php artisan migrate
```

Usage
-----

[](#usage)

- Grouped navigation items can be pinned from the sidebar.
- When `show_in_resource` is enabled, the current resource page can also be pinned or unpinned from the page header.
- Pinned items are shown in a dedicated group at the top of the sidebar.

Screenshots
-----------

[](#screenshots)

### Pin navigation items from the sidebar

[](#pin-navigation-items-from-the-sidebar)

[![Sidebar item available to pin](docs/images/none-pinned.png)](docs/images/none-pinned.png)

### Dedicated pinned group

[](#dedicated-pinned-group)

[![Pinned group with one item](docs/images/one-pinned.png)](docs/images/one-pinned.png)

### Multiple pinned items

[](#multiple-pinned-items)

[![Pinned group with multiple items](docs/images/two-pinned.png)](docs/images/two-pinned.png)

Credits
-------

[](#credits)

- [Salman Hijazi](https://www.linkedin.com/in/syedsalmanhijazi/)

License
-------

[](#license)

MIT. See [LICENSE.md](LICENSE.md).

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance90

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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 ~1 days

Total

3

Last Release

51d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0db9372e4286b99db446cceebc313afe89b9af65175a29476c6dfb9a404b9a3a?d=identicon)[devletes](/maintainers/devletes)

---

Top Contributors

[![salmanhijazi](https://avatars.githubusercontent.com/u/4691666?v=4)](https://github.com/salmanhijazi "salmanhijazi (13 commits)")

---

Tags

pluginlaravelnavigationfilamentfilament-plugin

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/devletes-filament-pinnable-navigation/health.svg)

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

###  Alternatives

[awcodes/filament-curator

A media picker plugin for FilamentPHP.

434297.7k19](/packages/awcodes-filament-curator)[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

254255.2k6](/packages/croustibat-filament-jobs-monitor)[schmeits/filament-character-counter

This is a Filament character counter TextField and Textarea form field for Filament v4 and v5

33184.7k6](/packages/schmeits-filament-character-counter)[inerba/filament-db-config

A Filament plugin for database-backed application settings and editable content, with caching and easy page generation.

329.1k](/packages/inerba-filament-db-config)[caresome/filament-neobrutalism-theme

A neobrutalism theme for FilamentPHP admin panels

303.2k](/packages/caresome-filament-neobrutalism-theme)

PHPackages © 2026

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