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

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

rich-id/maintenance-bundle
==========================

A maintenance bundle for Symfony 6.0

v3.0.0(1y ago)034.0k↓50%MITPHPPHP ^8.1

Since Jul 6Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/rich-id/maintenance-bundle)[ Packagist](https://packagist.org/packages/rich-id/maintenance-bundle)[ RSS](/packages/rich-id-maintenance-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (15)Versions (10)Used By (0)

[![Logo](.github/maintenance-bundle.svg)](.github/maintenance-bundle.svg)

[![Package version](https://camo.githubusercontent.com/0c9a6fc065f92e11f8d836781f294940b7c497ced6f1562901b767f40742d9dc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726963682d69642f6d61696e74656e616e63652d62756e646c65)](https://packagist.org/packages/rich-id/maintenance-bundle)[![Actions Status](https://github.com/rich-id/maintenance-bundle/workflows/Tests/badge.svg)](https://github.com/rich-id/maintenance-bundle/actions)[![Coverage Status](https://camo.githubusercontent.com/1e2ccfdb00a1874b33d24d9ca0a0bd225fa79a8c84ab04aaf9d5ceb551755868/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f726963682d69642f6d61696e74656e616e63652d62756e646c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/rich-id/maintenance-bundle?branch=master)[![Maintainability](https://camo.githubusercontent.com/7cc1ed7ffbae9e0ac0ac46f69f0ccb2348743c434a18921ea8316d81618bc770/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f61663535313361393932303834393564386334302f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/rich-id/maintenance-bundle/maintainability)[![Symfony 4.4+](https://camo.githubusercontent.com/abfdf93edcbe184e11b56dd7fe84c7d424e0466dd9ee6844db644ba2d29828ab/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d342e342b2d303030303030)](https://camo.githubusercontent.com/abfdf93edcbe184e11b56dd7fe84c7d424e0466dd9ee6844db644ba2d29828ab/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d342e342b2d303030303030)[![PHP 7.3+](https://camo.githubusercontent.com/fc548b9b1a384061b2faa1d794cfbe9c3dfa47844158c002e432df47a217a9a8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e332b2d3835386562622e737667)](https://camo.githubusercontent.com/fc548b9b1a384061b2faa1d794cfbe9c3dfa47844158c002e432df47a217a9a8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e332b2d3835386562622e737667)[![Contributions Welcome](https://camo.githubusercontent.com/9e93e892d0685e1bf7a1d0bd7c8410d6ecf2086a0a7b48dd58a6b96fa556ea2a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6e747269627574696f6e732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/rich-id/maintenance-bundle/issues)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)

Table of content
================

[](#table-of-content)

1. [Installation](#1-installation)
2. [Usage](#2-usage)
3. [Versioning](#3-versioning)
4. [Contributing](#4-contributing)
5. [Hacking](#5-hacking)
6. [License](#6-license)

1. Installation
===============

[](#1-installation)

This version of the bundle requires Symfony 6.0+ and PHP 8.1+. Moreover, remember to properly configure the [lexik/maintenance-bundle](https://packagist.org/packages/lexik/maintenance-bundle).

### 1.1 Composer

[](#11-composer)

```
composer require rich-id/maintenance-bundle
```

### 1.2 Bundles declaration

[](#12-bundles-declaration)

After the installation, make sure that the bundle are declared correctly within the Kernel's bundles list. This should be done automatically if you use Symfony Flex.

```
return [
    // ...
   Lexik\Bundle\MaintenanceBundle\LexikMaintenanceBundle::class => ['all' => true],
   RichId\MaintenanceBundle\Infrastructure\RichIdMaintenanceBundle::class => ['all' => true],
];
```

1.3 Mandatory configuration
---------------------------

[](#13-mandatory-configuration)

```
rich_id_maintenance:
    resource: "@RichIdMaintenanceBundle/Resources/config/routing/routing.xml"
```

You must also configure the [lexik/maintenance-bundle](https://packagist.org/packages/lexik/maintenance-bundle). Please checkout the [Lexik maintenance bundle documentation](https://github.com/lexik/LexikMaintenanceBundle/blob/master/Resources/doc/index.md).

2. Usage
========

[](#2-usage)

The bundle generates a back-office page accessible to the role `ROLE_MAINTENANCE_ADMIN` on the `/administration/maintenance` url.

[![Admin](.github/images/admin.png)](.github/images/admin.png)

You can also integrate a flag on your site displayed when the site is under maintenance, and the user is on the list of authorised IP addresses. This lets the authorised user to still use the website while in maintenance, but to remind that nobody can access it.

```
{% include '@RichIdMaintenance/flag/main.html.twig' %}
```

[![Admin](.github/images/flag.png)](.github/images/flag.png)

3. Versioning
=============

[](#3-versioning)

tour-bundle follows [semantic versioning](https://semver.org/). In short the scheme is MAJOR.MINOR.PATCH where

1. MAJOR is bumped when there is a breaking change,
2. MINOR is bumped when a new feature is added in a backward-compatible way,
3. PATCH is bumped when a bug is fixed in a backward-compatible way.

Versions bellow 1.0.0 are considered experimental and breaking changes may occur at any time.

4. Contributing
===============

[](#4-contributing)

Contributions are welcomed! There are many ways to contribute, and we appreciate all of them. Here are some of the major ones:

- [Bug Reports](https://github.com/rich-id/maintenance-bundle/issues): While we strive for quality software, bugs can happen, and we can't fix issues we're not aware of. So please report even if you're not sure about it or just want to ask a question. If anything the issue might indicate that the documentation can still be improved!
- [Feature Request](https://github.com/rich-id/maintenance-bundle/issues): You have a use case not covered by the current api? Want to suggest a change or add something? We'd be glad to read about it and start a discussion to try to find the best possible solution.
- [Pull Request](https://github.com/rich-id/maintenance-bundle/merge_requests): Want to contribute code or documentation? We'd love that! If you need help to get started, GitHub as [documentation](https://help.github.com/articles/about-pull-requests/) on pull requests. We use the ["fork and pull model"](https://help.github.com/articles/about-collaborative-development-models/) were contributors push changes to their personal fork and then create pull requests to the main repository. Please make your pull requests against the `master` branch.

As a reminder, all contributors are expected to follow our [Code of Conduct](CODE_OF_CONDUCT.md).

5. Hacking
==========

[](#5-hacking)

You might use Docker and `docker-compose` to hack the project. Check out the following commands.

```
# Start the project
docker-compose up -d

# Install dependencies
docker-compose exec application composer install

# Run tests
docker-compose exec application bin/phpunit

# Run a bash within the container
docker-compose exec application bash
```

6. License
==========

[](#6-license)

maintenance-bundle is distributed under the terms of the MIT license.

See [LICENSE](LICENSE) for details.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance62

Regular maintenance activity

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~152 days

Recently: every ~113 days

Total

8

Last Release

715d ago

Major Versions

v1.x-dev → v2.0.02022-02-20

v2.2.1 → v3.0.02024-06-03

PHP version history (2 changes)V1.0.0PHP &gt;=7.3

v3.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/6bfb5e4a3dde826e4cd3f92d24fdfbdce1415c77f3edd38fc3420b4988977e13?d=identicon)[HugoDumazeau](/maintainers/HugoDumazeau)

---

Top Contributors

[![mdevlamynck](https://avatars.githubusercontent.com/u/4378377?v=4)](https://github.com/mdevlamynck "mdevlamynck (2 commits)")[![NicolasGuilloux](https://avatars.githubusercontent.com/u/4090627?v=4)](https://github.com/NicolasGuilloux "NicolasGuilloux (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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