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 3d 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 37% 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

2001d 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

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[shivas/versioning-bundle

Symfony application versioning, simple console command to manage version (with providers e.g. git tag) of your application using Semantic Versioning 2.0.0 recommendations

1121.2M1](/packages/shivas-versioning-bundle)

PHPackages © 2026

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