Download the PHP package albertofuentes/filament-maintenance without Composer
On this page you can find all versions of the php package albertofuentes/filament-maintenance. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download albertofuentes/filament-maintenance
More information about albertofuentes/filament-maintenance
Files in albertofuentes/filament-maintenance
Package filament-maintenance
Short Description Enable maintenance mode per Filament panel with configurable access exceptions, customizable downtime pages, and audit history.
License MIT
Homepage https://github.com/albertofuentes/filament-maintenance
Informations about the package filament-maintenance
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
Publish and run the migrations:
Optionally publish the config and views:
The config file is published as config/filament-maintenance.php.
Usage
Register the plugin in the Filament panel where you want maintenance mode:
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
All versions of filament-maintenance with dependencies
filament/filament Version ^5.0
spatie/laravel-package-tools Version ^1.15.0