Yii2 Font Awesome ¶
Font Awesome extension for Yii2
Installation ¶
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist powerkernel/yii2-fontawesome "*"
or add
"powerkernel/yii2-fontawesome": "*"
to the require section of your composer.json
file.
Usage ¶
Once the extension is installed, simply use it in your code by :
<?= \powerkernel\fontawesome\Icon::widget(['icon'=>'university']) ?>
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.