platx / yii2-easter-egg
For individual use
Installs: 1 182
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2017-11-24 14:01:23 UTC
README
For individual use
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist platx/yii2-easter-egg "*"
or add
"platx/yii2-easter-egg": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your controller by adding following code :
public function actions() { return [ 'easter-egg' => [ 'class' => 'platx\easteregg\EasterEggAction', ], ]; }
After this to view easter egg on site go to:
/controller/easter-egg?token=powered