Downloads
Stars
Version
Puts the application into maintenance mode for all IPs that are not configured as an exception.
PHP: >=7.2
$ composer require rockbuzz/lara-maintenance
$ php artisan vendor:publish --provider="Rockbuzz\LaraMaintenance\ServiceProvider" --tag="config"
protected $middleware = [
\Rockbuzz\LaraMaintenance\Authorize::class,
...
];
APP_MAINTENANCE_MODE=true
APP_MAINTENANCE_EXCEPT="127.0.0.2, 127.0.0.3"
The Lara Maintenance is open-sourced software licensed under the MIT license.