PHPackages                             akira/filament-switch-panel - 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. akira/filament-switch-panel

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

akira/filament-switch-panel
===========================

This is my package filament-switch-panel

v1.3.1(6mo ago)54.5k—0%[1 PRs](https://github.com/akira-io/filament-switch-panel/pulls)MITPHPPHP ^8.1CI passing

Since Jan 19Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/akira-io/filament-switch-panel)[ Packagist](https://packagist.org/packages/akira/filament-switch-panel)[ Docs](https://github.com/akira/filament-switch-panel)[ GitHub Sponsors](https://github.com/Akira)[ RSS](/packages/akira-filament-switch-panel/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (5)Dependencies (13)Versions (10)Used By (0)

Filament Switch Panel
=====================

[](#filament-switch-panel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6c8dcf850cbbe2a20d67a22c90fab162471d09122a8b20b2db9aae3ba1907eb4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616b6972612f66696c616d656e742d7377697463682d70616e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/akira/filament-switch-panel)[![GitHub Tests Action Status](https://camo.githubusercontent.com/71f59579c936ceb2ff1afa9bf4880fbb40154a44ff3988a19d0d1d8b593de945/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616b6972612f66696c616d656e742d7377697463682d70616e656c2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/akira/filament-switch-panel/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/b2eff28a30d60a2263034d2c2cbfaa75ed77fa7bc0e3c45300d346ebb6c852f7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616b6972612f66696c616d656e742d7377697463682d70616e656c2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/akira/filament-switch-panel/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/7e41a925cdecfe064b87bddc5b598ed04f07e2cb29e157c135a6304512f16853/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616b6972612f66696c616d656e742d7377697463682d70616e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/akira/filament-switch-panel)

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

[](#installation)

You can install the package via composer:

```
composer require akira/filament-switch-panel
```

optionally, you can publish the views to customise the switch panel.

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

### Filament Compatibility

[](#filament-compatibility)

This package supports both **Filament v3.x** and **Filament v4.x**. The package will automatically detect the installed version and work seamlessly with either version.

Customisation
-------------

[](#customisation)

to start your customisation, use the `configureUsing` method in your service provider's boot method.

```
use Akira\FilamentSwitchPanel\FilamentSwitchPanel;

FilamentSwitchPanel::configureUsing(function (FilamentSwitchPanel $switchPanel) {

	$switchPanel->modalHeading('Modal Heading')
	->modalWidth('md')
	->slideOver()
	->simple()
	->labels([
		'admin' => 'Admin',
		'user' => 'User',
	])
	->icons([
		'admin' => 'heroicon-o-user',
		'user' => 'heroicon-o-user',
	], $asImage = false)
	->iconSize(32)
	->visible(fn (): bool => auth()->user()?->hasAnyRole(['admin',]))
	->canSwitchPanels(fn (): bool => auth()->user()?->can('switch-panels'))
	->excludes(['user'])
	->renderHook('panels::global-search.before')

});
```

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)

- [kidiatoliny](https://github.com/kidiatoliny)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance74

Regular maintenance activity

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 79.1% 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 ~149 days

Recently: every ~126 days

Total

6

Last Release

104d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c42e59ca0b3864a382dc0c3e290f8cf7d75bbe3eab10a3af0f71d5785f89d0bc?d=identicon)[kidiatoliny](/maintainers/kidiatoliny)

---

Top Contributors

[![kidiatoliny](https://avatars.githubusercontent.com/u/48266788?v=4)](https://github.com/kidiatoliny "kidiatoliny (34 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")

---

Tags

laravelakirafilament-switch-panel

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/akira-filament-switch-panel/health.svg)

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

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[outerweb/filament-settings

Filament integration for the outerweb/settings package

3690.9k4](/packages/outerweb-filament-settings)

PHPackages © 2026

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