PHPackages                             henryonsoftware/filament-panel-switcher - 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. henryonsoftware/filament-panel-switcher

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

henryonsoftware/filament-panel-switcher
=======================================

A Filament plugin to switch between panels in the topbar.

v0.6.6(2w ago)018↓100%MITPHPPHP ^8.2

Since May 13Pushed 2w agoCompare

[ Source](https://github.com/henryonsoftware/filament-panel-switcher)[ Packagist](https://packagist.org/packages/henryonsoftware/filament-panel-switcher)[ RSS](/packages/henryonsoftware-filament-panel-switcher/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (2)Versions (14)Used By (0)

Filament Panel Switcher
=======================

[](#filament-panel-switcher)

A [Filament](https://filamentphp.com) plugin that adds a panel navigation switcher to the topbar, letting users move between multiple Filament panels without leaving the admin UI.

- Desktop: horizontal tab-style links after the brand logo
- Mobile: a dropdown triggered by the active panel's icon

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

[](#requirements)

- PHP 8.3+
- Filament 4.x
- Laravel 12.x

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

[](#installation)

```
composer require henryonsoftware/filament-panel-switcher
```

Publish the config file:

```
php artisan vendor:publish --tag=filament-panel-switcher-config
```

Usage
-----

[](#usage)

1. Register the plugin in each panel provider where the switcher should appear:

```
use HenryOnSoftware\FilamentPanelSwitcher\FilamentPanelSwitcherPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->plugin(FilamentPanelSwitcherPlugin::make());
}
```

2. Add your panels to `config/filament-panel-switcher.php`:

```
return [
    'panels' => [
        'admin' => [
            'label' => 'Admin',
            'icon'  => 'heroicon-o-cog-8-tooth',
        ],
        'app' => [
            'label' => 'App',
            'icon'  => 'heroicon-o-home',
        ],
    ],
];
```

Keys are your panel IDs (set via `->id('...')` in the panel provider). Both `label` and `icon` are optional — the label defaults to the title-cased panel ID, and the icon is omitted if not set.

3. Add an import to your theme CSS file:

```
@import '../../../../vendor/henryonsoftware/filament-panel-switcher/resources/css/panel-switcher.css';
```

This will help compile the plugin CSS file to your theme.

**Note:** if you never create a theme before, please look at [this](https://filamentphp.com/docs/5.x/styling/overview#creating-a-custom-theme)

Custom Styling
--------------

[](#custom-styling)

If you want to custom the CSS file, first publish the CSS file:

This copies `panel-switcher.css` to `resources/css/filament-panel-switcher.css`.

```
php artisan vendor:publish --tag=filament-panel-switcher-css
```

and then replace the import above with new file path in your theme file

```
@import '../../../../resources/css/filament-panel-switcher.css';
```

Custom Views
------------

[](#custom-views)

Publish the views to override the markup:

```
php artisan vendor:publish --tag=filament-panel-switcher-views
```

This copies the templates to `resources/views/vendor/filament-panel-switcher/`.

Custom Config Key
-----------------

[](#custom-config-key)

If your project already stores panel metadata under a different config key, you can point the plugin at it instead of the default `filament-panel-switcher.panels`:

```
FilamentPanelSwitcherPlugin::make()->configKey('my-config.panels')
```

Access Control
--------------

[](#access-control)

The switcher respects each panel's built-in access control. It calls `$user->canAccessPanel($panel)` and only renders panels the authenticated user can access. Implement this method on your `User` model:

```
use Filament\Panel;

public function canAccessPanel(Panel $panel): bool
{
    return match ($panel->getId()) {
        'admin'  => $this->isAdmin(),
        default  => true,
    };
}
```

License
-------

[](#license)

MIT

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance96

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

12

Last Release

18d ago

PHP version history (2 changes)v0.1PHP ^8.3

v0.6PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/3791b5598aada560ccb0ba66e65bca054b48090f9fabe109e7a5d062c911bd59?d=identicon)[henryonsoftware](/maintainers/henryonsoftware)

---

Top Contributors

[![henryonsoftware](https://avatars.githubusercontent.com/u/12124934?v=4)](https://github.com/henryonsoftware "henryonsoftware (18 commits)")

---

Tags

laravelfilamentpanel-switcher

### Embed Badge

![Health badge](/badges/henryonsoftware-filament-panel-switcher/health.svg)

```
[![Health](https://phpackages.com/badges/henryonsoftware-filament-panel-switcher/health.svg)](https://phpackages.com/packages/henryonsoftware-filament-panel-switcher)
```

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

127173.7k3](/packages/dotswan-filament-map-picker)[creagia/filament-code-field

A Filamentphp input field to edit or view code data.

57301.3k3](/packages/creagia-filament-code-field)[pboivin/filament-peek

Full-screen page preview modal for Filament

253365.8k17](/packages/pboivin-filament-peek)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17758.9k2](/packages/stephenjude-filament-jetstream)[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

30122.2k](/packages/tapp-filament-google-autocomplete-field)

PHPackages © 2026

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