Panel Maintenance
CommunityFilament Maintenance lets you enable maintenance mode per Filament panel, with access exceptions for IP addresses, CIDR ranges, manager users, and Spatie Permission roles.
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Author:
Alberto Fuentes
Documentation
Filament Maintenance lets you enable maintenance mode per Filament panel, with access exceptions for IP addresses, CIDR ranges, manager users, and Spatie Permission roles.
#Installation
composer require albertofuentes/filament-maintenance
Publish and run the migrations:
php artisan vendor:publish --tag="filament-maintenance-migrations"
php artisan migrate
Optionally publish the config and views:
php artisan vendor:publish --tag="filament-maintenance-config"
php artisan vendor:publish --tag="filament-maintenance-views"
The config file is published as config/filament-maintenance.php.
#Usage
Register the plugin in the Filament panel where you want maintenance mode:
use Albertofuentes\FilamentMaintenance\FilamentMaintenancePlugin;
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugin(FilamentMaintenancePlugin::make());
}
The plugin adds:
- A maintenance switch near the user menu for allowed managers.
- A
maintenancesettings page inside the panel. - Middleware that blocks the panel when maintenance is enabled.
- A customizable 503 maintenance view.
- Audit events for enable, disable and settings updates.
#Permissions
Managers can be configured from the settings page by selecting users or Spatie role names. The package also allows users with the Laravel permission manage-filament-maintenance.
While no manager users or manager roles are configured for a panel, authenticated users can access the settings page so the first configuration can be completed.
#Testing
composer test
Featured Plugins
A selection of plugins curated by the Filament team
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese
Spotlight Pro
Browse your Filament Panel with ease. Filament Spotlight Pro adds a Spotlight/Raycast like Command Palette to your Filament Panel.
Dennis Koch