A Database driven replacement for Laravel's default file based maintenance mode. This allows easy maintenance mode across multiple server environments.
composer require friendsofcat/laravel-db-maintenance
The service provider will be auto discovered. This will replace the default up
and down
commands
as well as register a new CheckDbMaintenance
middleware globally. So no need to manually add this to
Kernel $middleware. However, the default \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class
can be removed (optional).