rdehnhardt/lumen-maintenance-mode

Define application maintenance mode.

Maintainers

Package info

github.com/rdehnhardt/lumen-maintenance-mode

pkg:composer/rdehnhardt/lumen-maintenance-mode

Statistics

Installs: 26 290

Dependents: 1

Suggesters: 0

Stars: 24

Open Issues: 1

1.2.1 2016-06-22 18:54 UTC

This package is auto-updated.

Last update: 2026-03-11 21:30:39 UTC


README

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