PHPackages                             zend-modules/maintenance - 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. zend-modules/maintenance

ActiveLibrary

zend-modules/maintenance
========================

Maintenance mode component for ZF2

08PHP

Since Dec 6Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Maintenance Mode Component for ZF2
==================================

[](#maintenance-mode-component-for-zf2)

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

[](#installation)

### Main Setup

[](#main-setup)

#### With composer (Recomended)

[](#with-composer-recomended)

1. Add this project in your composer.json:

    ```
    "require": {
        "zend-modules/maintenance": "dev-master"
    }
    ```
2. Now tell composer to download the maintenance mode component by running the command:

    ```
    $ php composer.phar update
    ```

#### By cloning the project

[](#by-cloning-the-project)

1. Clone this project into your `./vendor/` directory.

**Warning** This installation type will only allow the component to be installed as a module.

### Post installation

[](#post-installation)

There are two ways to set this component.

#### As a component

[](#as-a-component)

1. Enabling it in your `application.config.php`file.

    ```
