platx/yii2-easter-egg For individual use

Easter Egg Action for Yii2

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

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



MIT license
Stats
0 github stars & 0 github forks
7 downloads in the last day
67 downloads in the last 30 days
1159 total downloads