2017 © Pedro Peláez
 

library yii2-offline

offline action

image

light/yii2-offline

offline action

  • Friday, January 29, 2016
  • by light
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 50 % Grown

The README.md

yii2-offline

offline action, (*1)

Build Status version Download Contact, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist light/yii2-offline "*"

or add, (*5)

"light/yii2-offline": "*"

to the require section of your composer.json file., (*6)

Usage

Once the extension is installed, simply use it in your code by :, (*7)


public function actions() { return [ 'offline' => [ 'class' => 'light\Offline\OfflineAction', 'title' => '维护中', 'description' => '服务器正在维护中, <br /> 请稍后访问', ] ]; }

Your config file:, (*8)


... 'catchAll' => ['site/offline'] ...

License

MIT, (*9)

The Versions

29/01 2016

dev-master

9999999-dev

offline action

  Sources   Download

MIT

The Requires

 

The Development Requires

by lichunqiang

extension yii2 offline

29/12 2015

1.0.0

1.0.0.0

offline action

  Sources   Download

MIT

The Requires

 

by lichunqiang

extension yii2 offline