Assets icons for Yii PHP Framework ¶
Assets icons for Yii PHP Framework
Installation ¶
The preferred way to install this extension is through composer.
Either run
composer require thtmorais/yii2-icons "*"
or add
"thtmorais/yii2-icons": "*"
to the require section of your composer.json
file.
Usage ¶
Once the extension is installed, simply use it in your code by :
Feather icons use:
<?php
use thtmorais\icons\FeatherIconsAsset;
FeatherIconsAsset::register($this);
FlagIconsAsset::register($this);
?>
You can preview all Feather icons here.
You can preview all Flag icons here.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.