The useful helper functions for Yii 2.0 Framework
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist rokorolov/yii2-helpers "*"
or add
"rokorolov/yii2-helpers": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
use rokorolov\helpers\Html;
// examples of usage
echo Html::icon('rocket');
Comments