albertofuentes/filament-maintenance

Enable maintenance mode per Filament panel with configurable access exceptions, customizable downtime pages, and audit history.
1,323 5
Install
composer require albertofuentes/filament-maintenance
Latest Version:v1.0.0
PHP:^8.2
Laravel:11 · 12 · 13
License:MIT
Last Updated:Sep 10, 2026
Links: GitHub  ·  Packagist
Maintainer: albertofuentes

Filament Maintenance

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

Related Packages

hammadzafar05/mobile-bottom-nav

A thumb-friendly mobile bottom navigation bar for Filament panels. It programmat...

69,918 20
prodstarter/filament-notification-center

Extend Filament's notification drawer with customizable tabs and notification ca...

57,468 6
jibaymcs/tabbed

A FilamentPHP plugin to manage records in manageable tabs

12,052 8
l3aro/rating-star-for-filament

Rating star for filament table column and schemas.

11,284 3
aureuserp/progress-stepper

A Filament v5 progress-stepper form & infolist component for visualising workflo...

5,615 6

Version History

Version Released PHP License
v1.0.0 ^8.2 MIT