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.1k↓100%PHPPHP &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 1mo 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 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

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

2983d 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://www.gravatar.com/avatar/a21cf78283c09ffd6db1ec2e007b33acd061d79f55f88be76869d8bddf0f5514?d=identicon)[jsilalahi](/maintainers/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

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M319](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M18](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

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

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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