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

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

erfans/maintenance-bundle
=========================

A Symfony bundle to allow maintenance mode for website.

2.1.0(6y ago)121MITPHP &gt;=5.3.3

Since Aug 16Compare

[ Source](https://github.com/Erfans/MaintenanceBundle)[ Packagist](https://packagist.org/packages/erfans/maintenance-bundle)[ RSS](/packages/erfans-maintenance-bundle/feed)WikiDiscussions Synced today

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

```
A bundle to add maintenance mode to Symfony projects.

```

Installation
============

[](#installation)

Step 1: Download the Bundle
---------------------------

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require erfans/maintenance-bundle "~2.1"
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Step 2: Enable the Bundle
-------------------------

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
