platx / yii2-easter-egg
This package is abandoned and no longer maintained.
No replacement package was suggested.
For individual use
Package info
github.com/platx/yii2-easter-egg
Type:yii2-extension
pkg:composer/platx/yii2-easter-egg
dev-master
2015-11-13 14:40 UTC
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