Download the PHP package henryonsoftware/filament-panel-switcher without Composer
On this page you can find all versions of the php package henryonsoftware/filament-panel-switcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download henryonsoftware/filament-panel-switcher
More information about henryonsoftware/filament-panel-switcher
Files in henryonsoftware/filament-panel-switcher
Package filament-panel-switcher
Short Description A Filament plugin to switch between panels in the topbar.
License MIT
Informations about the package filament-panel-switcher
Filament Panel Switcher
A Filament 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
- PHP 8.3+
- Filament 4.x
- Laravel 12.x
Installation
Publish the config file:
Usage
-
Register the plugin in each panel provider where the switcher should appear:
- Add your panels to
config/filament-panel-switcher.php:
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.
- Add an import to your theme CSS file:
This will help compile the plugin CSS file to your theme.
Note: if you never create a theme before, please look at this
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.
and then replace the import above with new file path in your theme file
Custom Views
Publish the views to override the markup:
This copies the templates to resources/views/vendor/filament-panel-switcher/.
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:
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:
License
MIT
All versions of filament-panel-switcher with dependencies
filament/filament Version ^4.0 || ^5.0
illuminate/contracts Version ^11.28 || ^12.0 || ^13.0