rdehnhardt / lumen-maintenance-mode by rdehnhardt

Define application maintenance mode.
24,160
24
4
Package Data
Maintainer Username: rdehnhardt
Maintainer Contact: renatotkd@gmail.com (Renato Dehnhardt)
Package Create Date: 2015-07-09
Package Last Update: 2022-07-11
Language: PHP
License: MIT
Last Refreshed: 2024-03-27 03:13:42
Package Statistics
Total Downloads: 24,160
Monthly Downloads: 150
Daily Downloads: 6
Total Stars: 24
Total Watchers: 4
Total Forks: 26
Total Open Issues: 1

Lumen maintenance mode

Latest Stable Version Total Downloads License Build Status Scrutinizer Code Quality

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