13/02
2017
Maintenance Component for Yii2
The preferred way to install this extension is through composer., (*1)
Either run, (*2)
php composer require sankam/yii2-maintenance "*"
Or, you may add, (*3)
"sankam/yii2-maintenance": "*"
to the require section of your composer.json
file and execute php composer update
., (*4)
In your application front config, add the path alias for this extension., (*5)
return [ ... 'components' => [ ... 'maintenance' => [ 'class' => 'sankam\maintenance\Maintenance', 'enabled' => true ], ];