PHPackages                             j3rrey/lumen-5-maintenance-mode - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. j3rrey/lumen-5-maintenance-mode

ActiveLibrary

j3rrey/lumen-5-maintenance-mode
===============================

Define application maintenance mode.

1.3.0(6y ago)31741MITPHPPHP &gt;=7.0

Since Jun 7Pushed 6y agoCompare

[ Source](https://github.com/j3rrey/lumen-5-maintenance-mode)[ Packagist](https://packagist.org/packages/j3rrey/lumen-5-maintenance-mode)[ RSS](/packages/j3rrey-lumen-5-maintenance-mode/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Lumen 5 simple maintenance mode
===============================

[](#lumen-5-simple-maintenance-mode)

[![Build Status](https://camo.githubusercontent.com/07f7caee9172597e67006ef6a9c36fa306a16eb4ac3acb2c35894ea9728ff038/68747470733a2f2f7472617669732d63692e6f72672f6a33727265792f6c756d656e2d6d61696e74656e616e63652d6d6f64652e737667)](https://travis-ci.org/j3rrey/lumen-maintenance-mode)

php 7.2 Lumen 5.8

How to install
--------------

[](#how-to-install)

```
composer require j3rrey/lumen-5-maintenance-mode

```

How to configure
----------------

[](#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
--------------

[](#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
-------------------

[](#maintenance-mode-on)

```
php artisan down

```

Maintenance Mode off
--------------------

[](#maintenance-mode-off)

```
php artisan up

```

IP based access
---------------

[](#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
------------

[](#example-view)

Laravel 503 blade file(2016):

Default View:

[![Default View](https://camo.githubusercontent.com/f8728c45be3867626915d0322e980f803fbb18a64781ce7a29e0da1c1fa75c4c/68747470733a2f2f692e706f7374696d672e63632f3870483970585a782f53637265656e2d53686f742d323031392d30362d31322d61742d31312d32342d30382e706e67)](https://camo.githubusercontent.com/f8728c45be3867626915d0322e980f803fbb18a64781ce7a29e0da1c1fa75c4c/68747470733a2f2f692e706f7374696d672e63632f3870483970585a782f53637265656e2d53686f742d323031392d30362d31322d61742d31312d32342d30382e706e67)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2532d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/776a9c3e2d51e5efd470886809cb8a16f94afa3e044690b6cf4e9ac4ae103bf9?d=identicon)[J3rrey](/maintainers/J3rrey)

---

Top Contributors

[![j3rrey](https://avatars.githubusercontent.com/u/5716777?v=4)](https://github.com/j3rrey "j3rrey (21 commits)")[![rdehnhardt](https://avatars.githubusercontent.com/u/7077461?v=4)](https://github.com/rdehnhardt "rdehnhardt (20 commits)")[![vluzrmos](https://avatars.githubusercontent.com/u/450848?v=4)](https://github.com/vluzrmos "vluzrmos (12 commits)")[![BerryJerry](https://avatars.githubusercontent.com/u/49227383?v=4)](https://github.com/BerryJerry "BerryJerry (10 commits)")[![tibonilab](https://avatars.githubusercontent.com/u/4867995?v=4)](https://github.com/tibonilab "tibonilab (3 commits)")

---

Tags

lumenmaintenancemode

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/j3rrey-lumen-5-maintenance-mode/health.svg)

```
[![Health](https://phpackages.com/badges/j3rrey-lumen-5-maintenance-mode/health.svg)](https://phpackages.com/packages/j3rrey-lumen-5-maintenance-mode)
```

###  Alternatives

[darkaonline/swagger-lume

OpenApi or Swagger integration to Lumen

3372.3M3](/packages/darkaonline-swagger-lume)[rdehnhardt/lumen-maintenance-mode

Define application maintenance mode.

2526.3k1](/packages/rdehnhardt-lumen-maintenance-mode)[brussens/yii2-maintenance-mode

Maintenance mode component for Yii framework 2.x.x version.

78256.3k5](/packages/brussens-yii2-maintenance-mode)[pearl/lumen-request-validate

Lumen doesn't have form request validator seperatly. This package helps developers to segregate the validation layer from the controller to a separate dedicated class

45390.3k2](/packages/pearl-lumen-request-validate)[rogervila/lumen-rate-limiting

 Lumen port of Laravel ThrottleRequests middleware

1662.5k1](/packages/rogervila-lumen-rate-limiting)[vluzrmos/collective-html

LaravelCollective Html and Form builder for Lumen.

2523.9k](/packages/vluzrmos-collective-html)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
