PHPackages                             usmanjdn93/lumen-7-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. usmanjdn93/lumen-7-maintenance-mode

ActiveLibrary

usmanjdn93/lumen-7-maintenance-mode
===================================

Define application maintenance mode.

v1.2.0(5y ago)233MITPHPPHP &gt;=7.2

Since Jan 22Pushed 5y agoCompare

[ Source](https://github.com/usmanjdn93/lumen-8-maintenance-mode)[ Packagist](https://packagist.org/packages/usmanjdn93/lumen-7-maintenance-mode)[ RSS](/packages/usmanjdn93-lumen-7-maintenance-mode/feed)WikiDiscussions master Synced yesterday

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

Lumen 8 simple maintenance mode
===============================

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

[![Build Status](https://camo.githubusercontent.com/7b1a112e479814b44d86692f4a7b5eca7645f6fc8a25fbc50e621cac27245b89/68747470733a2f2f7472617669732d63692e636f6d2f75736d616e6a646e39332f6c756d656e2d372d6d61696e74656e616e63652d6d6f64652e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/usmanjdn93/lumen-7-maintenance-mode)[![Latest Stable Version](https://camo.githubusercontent.com/9d8ae638d05e93426db2f3d3e02ec416833d493f6b42953aeefbd067dacf27f6/68747470733a2f2f706f7365722e707567782e6f72672f75736d616e6a646e39332f6c756d656e2d372d6d61696e74656e616e63652d6d6f64652f762f737461626c65)](https://packagist.org/packages/usmanjdn93/lumen-7-maintenance-mode)[![Total Downloads](https://camo.githubusercontent.com/c785bcbc40cd39f869f7e1c186d7c6b52dcab9cfb471801516a0a2be36d2c967/68747470733a2f2f706f7365722e707567782e6f72672f75736d616e6a646e39332f6c756d656e2d372d6d61696e74656e616e63652d6d6f64652f646f776e6c6f616473)](https://packagist.org/packages/usmanjdn93/lumen-7-maintenance-mode)[![License](https://camo.githubusercontent.com/58940ed5abff1d8e5e9bae1bc5f6b245dc78cadc9bf41f90bdb2369aa4e2fa79/68747470733a2f2f706f7365722e707567782e6f72672f75736d616e6a646e39332f6c756d656e2d372d6d61696e74656e616e63652d6d6f64652f6c6963656e7365)](https://packagist.org/packages/usmanjdn93/lumen-7-maintenance-mode)

php 7.2 Lumen 8.x

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

[](#how-to-install)

```
composer require usmanjdn93/lumen-8-maintenance-mode

```

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

[](#how-to-configure)

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

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

```

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

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

```

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 ip ranges

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
- Dynamic DNS IP Filtering

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor3

3 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

Every ~49 days

Recently: every ~62 days

Total

6

Last Release

2055d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12c3c52490675bc074b36a74ffa818a9b059083bc41d162b717f29b42f0d4506?d=identicon)[usmanjdn](/maintainers/usmanjdn)

---

Top Contributors

[![j3rrey](https://avatars.githubusercontent.com/u/5716777?v=4)](https://github.com/j3rrey "j3rrey (21 commits)")[![faizalmansor](https://avatars.githubusercontent.com/u/1214801?v=4)](https://github.com/faizalmansor "faizalmansor (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)")[![usmanjdn93](https://avatars.githubusercontent.com/u/16402690?v=4)](https://github.com/usmanjdn93 "usmanjdn93 (6 commits)")[![tibonilab](https://avatars.githubusercontent.com/u/4867995?v=4)](https://github.com/tibonilab "tibonilab (3 commits)")[![8ctopus](https://avatars.githubusercontent.com/u/13252042?v=4)](https://github.com/8ctopus "8ctopus (2 commits)")

---

Tags

lumenmaintenancemode

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/usmanjdn93-lumen-7-maintenance-mode/health.svg)](https://phpackages.com/packages/usmanjdn93-lumen-7-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)
