n1k88/yii2-maintenance-mode Maintenance mode for Yii2 framework

maintenancemode

Yii2-maintenance

Installation

Add to the require section of your composer.json file:

"n1k88/yii2-maintenance-mode": "*"

Add to your config file:

   'bootstrap' => ['log', 'maintenance'],
   ...
   'modules' => [
     'maintenance' => [
        'class' => 'n1k88\maintenance\Module',
        // optional
        'maintenanceFileOn' => 'maintenance.on', // default is `maintenance.on`
     ],
   ],

Create a file in the @web directory named maintenance.on to activate the maintenance mode.

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.1.2 is the latest of 4 releases



BSD-3-Clause license
Stats
3 github stars & 5 github forks
1 downloads in the last day
2 downloads in the last 30 days
177 total downloads