Panel Maintenance plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

Panel Maintenance

Community

Filament Maintenance lets you enable maintenance mode per Filament panel, with access exceptions for IP addresses, CIDR ranges, manager users, and Spatie Permission roles.

Tags: Panel Authorization Developer Tool Spatie Integration Panel Authentication
Supported versions:
5.x
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the 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 .
Alberto Fuentes avatar 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 maintenance settings 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

The author

Alberto Fuentes avatar Author: Alberto Fuentes

Profesional de TI con 20 años de experiencia y una gran pasión por el desarrollo web. Disfruto creando soluciones limpias y fiables, aprendiendo continuamente y manteniéndome al día con las tecnologías, herramientas y mejores prácticas más recientes.

Plugins
1