PHPackages                             lch/maintenance-bundle - 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. lch/maintenance-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

lch/maintenance-bundle
======================

Symfony LchMaintenanceBundle

0.1.2(5y ago)0613MITPHPPHP ^7.2

Since Aug 5Pushed 5y ago3 watchersCompare

[ Source](https://github.com/compagnie-hyperactive/MaintenanceBundle)[ Packagist](https://packagist.org/packages/lch/maintenance-bundle)[ Docs](https://github.com/compagnie-hyperactive/MaintenanceBundle)[ RSS](/packages/lch-maintenance-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (4)Versions (14)Used By (0)

MaintenanceBundle
=================

[](#maintenancebundle)

Provides helper to set web app in maintenance mode. This is useful when using automated deploying processes, ensuring website is properly inaccessible during the deploy process.

This bundle provides a flat html fil for maintenance splash screen. This is done **to avoid generating cache during the maintenance time**.

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

[](#installation)

`composer require lch/maintenance-bundle`

Usage
-----

[](#usage)

Use the command to toggle maintenance mode :

- `php bin/console lch:maintenance:mode 1` for enabling maintenance (creates a `.maintenance` file in `public/`)
- `php bin/console lch:maintenance:mode 0` for disabling maintenance (remove the `.maintenance` file in `public/`)

When maintenance mode is on, static splash html page will be served with a 503 HTTP code.

TODO
----

[](#todo)

- make html file configurable
- add options
- Enhance exceptions
- ...

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Recently: every ~118 days

Total

13

Last Release

2049d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9247311?v=4)[lch](/maintainers/lch)[@lch](https://github.com/lch)

---

Top Contributors

[![devgiants](https://avatars.githubusercontent.com/u/8057208?v=4)](https://github.com/devgiants "devgiants (19 commits)")

---

Tags

systemmaintenance

### Embed Badge

![Health badge](/badges/lch-maintenance-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/lch-maintenance-bundle/health.svg)](https://phpackages.com/packages/lch-maintenance-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M379](/packages/easycorp-easyadmin-bundle)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k45](/packages/friendsoftypo3-content-blocks)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k13.0M214](/packages/simplesamlphp-simplesamlphp)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.7k](/packages/contao-core-bundle)[contao/manager-bundle

Provides the Contao Managed Edition

181.3M68](/packages/contao-manager-bundle)

PHPackages © 2026

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