sankam/yii2-maintenance

Maintenance Component for Yii2

dev-master 2017-02-13 12:17 UTC

This package is not auto-updated.

Last update: 2024-04-22 13:37:26 UTC


README

Installation

Install With Composer

The preferred way to install this extension is through composer.

Either run

php composer require sankam/yii2-maintenance "*"

Or, you may add

"sankam/yii2-maintenance": "*"

to the require section of your composer.json file and execute php composer update.

Install

In your application front config, add the path alias for this extension.

return [
    ...
    'components' => [
        ...
        'maintenance' => [
            'class' => 'sankam\maintenance\Maintenance',
            'enabled' => true
        ],
];