rdehnhardt/lumen-maintenance-mode
Define application maintenance mode.
26,315
24
| Install | |
|---|---|
composer require rdehnhardt/lumen-maintenance-mode |
|
| Latest Version: | 1.2.1 |
| PHP: | >=5.5.9 |
| License: | MIT |
| Last Updated: | Jul 11, 2022 |
| Links: | GitHub · Packagist |
Maintainer: rdehnhardt
Lumen maintenance mode
How to install
composer require rdehnhardt/lumen-maintenance-mode
How to configure
In bootstrap/app.php, add this instruction in providers
$app->register(
Rdehnhardt\MaintenanceMode\Providers\MaintenanceModeServiceProvider::class
);
Set View
resources/views/errors/503.blade.php
Put the application into maintenance mode.
php artisan down
Bring the application out of maintenance mode.
php artisan up
IP released for access
In .env file
ALLOWED_IPS=999.99.9.999,999.99.9.999,999.99.9.999
