thtmorais / yii2-icons
Assets icons for Yii PHP Framework
Installs: 5 893
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- npm-asset/feather-icons: 4.29.2
- npm-asset/flag-icons: 7.2.1
- yiisoft/yii2: ~2.0.0
README
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.