Skip to content

heartshare/yii2-maintenance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-maintenance

Installation

php composer.phar require --prefer-dist sacara/yii2-maintenance "*"

or add

"sacara/yii2-maintenance": "*"

to the require section of your composer.json file.

Add to your config file:

   'bootstrap' => ['log', 'maintenance'],
   ...
   'modules' => [
     'maintenance' => [
        'class' => 'sacara\maintenance\Module',
     ],
   ],
   ...

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

About

Yii2 maintenance mode module.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages