PHPackages                             dyned/lumen-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. [CLI &amp; Console](/categories/cli)
4. /
5. dyned/lumen-maintenance-mode

AbandonedLibrary[CLI &amp; Console](/categories/cli)

dyned/lumen-maintenance-mode
============================

Maintenance mode command for Lumen

v1.0.0(8y ago)38.2kPHPPHP &gt;=7.0

Since Mar 9Pushed 8y agoCompare

[ Source](https://github.com/jsilalahi/lumen-maintenance-mode)[ Packagist](https://packagist.org/packages/dyned/lumen-maintenance-mode)[ RSS](/packages/dyned-lumen-maintenance-mode/feed)WikiDiscussions master Synced 3w ago

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

🔧 Lumen Maintenance Mode
========================

[](#wrench-lumen-maintenance-mode)

[![GitHub release](https://camo.githubusercontent.com/b9ede97346b93f69638a9b719ba50907bf5a60af4417af8e6da9ca56b317054d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6a73696c616c6168692f6c756d656e2d6d61696e74656e616e63652d6d6f64652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/b9ede97346b93f69638a9b719ba50907bf5a60af4417af8e6da9ca56b317054d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6a73696c616c6168692f6c756d656e2d6d61696e74656e616e63652d6d6f64652e7376673f7374796c653d666c61742d737175617265)

In Laravel framework, maintenance mode provided out of the box. Unfortunately, this feature not available in Lumen framework.

This library will bring back maintenance mode command for Lumen framework with customize JSON response.

Installation
------------

[](#installation)

Require this package with composer. It is recommended to only require the package for development.

```
composer require dyned/lumen-maintenance-mode

```

And then register the Maintenance Mode in Lumen Service Provider `bootstrap/app.php` file:

```
$app->register(DynEd\Lumen\MaintenanceMode\MaintenanceModeServiceProvider::class);
```

Usage
-----

[](#usage)

To enable maintenance mode, execute the `down` Artisan command:

```
php artisan down

```

When maintenance mode enabled, the maintenance response returned for each routes called.

You may also provide `message` and `retry` options to the `down` command. The `message` value may be used to display message in JSON response, while the `retry` value will used for retry in seconds before the application is available again:

```
php artisan down --message="Upgrading Database" --retry=60

```

To disable maintenance mode, use the `up` command:

```
php artisan up

```

TODO
----

[](#todo)

- Creating config for JSON response

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Total

6

Last Release

3028d ago

Major Versions

v0.1.4 → v1.0.02018-03-09

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/37064247?v=4)[Jogi Silalahi](/maintainers/jsilalahi)[@jsilalahi](https://github.com/jsilalahi)

---

Top Contributors

[![jsilalahi](https://avatars.githubusercontent.com/u/37064247?v=4)](https://github.com/jsilalahi "jsilalahi (15 commits)")

---

Tags

commandlumenmaintenance

### Embed Badge

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

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

###  Alternatives

[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24726.4M22](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

13045.3M6.2k](/packages/illuminate-console)[niellles/lumen-commands

Adds artisan commands to Lumen that aren't available by default.

1860.7k](/packages/niellles-lumen-commands)

PHPackages © 2026

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