PHPackages                             faizalmansor/lumen-6-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. faizalmansor/lumen-6-maintenance-mode

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

faizalmansor/lumen-6-maintenance-mode
=====================================

Define application maintenance mode.

v1.1.1(6y ago)14.8k2MITPHPPHP &gt;=7.2

Since Jan 22Pushed 6y agoCompare

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

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

Lumen 6 simple maintenance mode
===============================

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

[![Build Status](https://camo.githubusercontent.com/8abf7de316b98b32d85aac8302f205110ce4540096cde1c85563ef906be81626/68747470733a2f2f7472617669732d63692e636f6d2f6661697a616c6d616e736f722f6c756d656e2d362d6d61696e74656e616e63652d6d6f64652e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/faizalmansor/lumen-6-maintenance-mode)[![Latest Stable Version](https://camo.githubusercontent.com/4b7cf9cd6e05a13b4fb6f7a258147146ae283cedf0a652a1d8f3da32315eb199/68747470733a2f2f706f7365722e707567782e6f72672f6661697a616c6d616e736f722f6c756d656e2d362d6d61696e74656e616e63652d6d6f64652f762f737461626c65)](https://packagist.org/packages/faizalmansor/lumen-6-maintenance-mode)[![Total Downloads](https://camo.githubusercontent.com/ed3c5ddc6bb378bfcd702d493e742aeb290d93458a947475ee1f162ad6067205/68747470733a2f2f706f7365722e707567782e6f72672f6661697a616c6d616e736f722f6c756d656e2d362d6d61696e74656e616e63652d6d6f64652f646f776e6c6f616473)](https://packagist.org/packages/faizalmansor/lumen-6-maintenance-mode)[![License](https://camo.githubusercontent.com/9e024be1c2503e61bf9f7ce1cb6b0fe7edc333cd1887a3be663f731a4173b359/68747470733a2f2f706f7365722e707567782e6f72672f6661697a616c6d616e736f722f6c756d656e2d362d6d61696e74656e616e63652d6d6f64652f6c6963656e7365)](https://packagist.org/packages/faizalmansor/lumen-6-maintenance-mode)

php 7.3 Lumen 6.2

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

[](#how-to-install)

```
composer require faizalmansor/lumen-6-maintenance-mode

```

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

[](#how-to-configure)

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

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

```

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

```
    protected $commands = [
        \faizalmansor\MaintenanceMode\Console\Commands\DownCommand::class,
        \faizalmansor\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 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
- Dynamic DNS IP Filtering

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

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 ~2 days

Total

4

Last Release

2303d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f5857fb4230cebd7bac501ed0a9e4dd7280fbfce42326d8c5f36288b0883a92b?d=identicon)[faizalmansor](/maintainers/faizalmansor)

---

Top Contributors

[![faizalmansor](https://avatars.githubusercontent.com/u/1214801?v=4)](https://github.com/faizalmansor "faizalmansor (21 commits)")[![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

artisan-commandlumen-frameworkmaintenance-modelumenmaintenancemode

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[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)

PHPackages © 2026

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