New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

j3rrey/lumen-5-maintenance-mode

Define application maintenance mode.
179 3

Larablocks Analysis

j3rrey/lumen-5-maintenance-mode works with any PHP project: the latest release (1.3.0, Jun 7, 2019) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Jun 7, 2019)
  • 0 downloads a month (needs 10,000)
  • 3 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Jun 7, 2019.
  • No releases in the last 12 months.
  • First released: Jun 7, 2019.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require j3rrey/lumen-5-maintenance-mode
Latest Version:1.3.0
PHP:>=7.0
License:MIT
Last Updated:Jun 14, 2019
Links: GitHub  ·  Packagist
Maintainer: J3rrey

Lumen 5 simple maintenance mode

Build Status

php 7.2 Lumen 5.8

How to install

composer require j3rrey/lumen-5-maintenance-mode

How to configure

Add this to your AppServiceProvider or in bootstrap/app.php

$app->register(
    j3rrey\MaintenanceMode\Providers\MaintenanceModeServiceProvider::class
);

Add the up and down commands in app/console/Kernel.php

    protected $commands = [
        \j3rrey\MaintenanceMode\Console\Commands\DownCommand::class,
        \j3rrey\MaintenanceMode\Console\Commands\UpCommand::class
    ];

Customize View

In case there is no 503 view file you will be asked if it should be created for you when putting your application in maintenance mode.

Example views at the bottom

resources/views/errors/503.blade.php

Maintenance Mode on

php artisan down

Maintenance Mode off

php artisan up

IP based access

Currently only ipv4 and no ipranges

Add ALLOWED_IPS in your .env file

ALLOWED_IPS=192.168.1.2,127.0.0.1,136.22.16.0

Features planned:

  • Ip Ranges,
  • Maintenance without view options
  • Dynamic DNS Ip Filtering

Example view

Laravel 503 blade file(2016): https://github.com/laravel/laravel/blob/696ab5149e6b6169f73b75321eaabf47a4a26645/resources/views/errors/503.blade.php

Default View:

Default View

Alternatives to j3rrey/lumen-5-maintenance-mode

8ctopus/lumen-9-maintenance-mode

Define application maintenance mode.

5,591 0
rdehnhardt/lumen-maintenance-mode

Define application maintenance mode.

26,979 24

Version History

Version Released PHP License
1.3.0 >=7.0 MIT