cinghie / yii2-ionicons
Asset Bundle to include Ionicons on your Yii 2 project
Package info
github.com/cinghie/yii2-ionicons
Type:yii2-extension
pkg:composer/cinghie/yii2-ionicons
1.0.5
2025-10-18 05:03 UTC
Requires
- bower-asset/ionicons: 7.4.0
- yiisoft/yii2: ^2.0.14
README
Asset Bundle to include Ionicons on your Yii 2 project: https://ionicons.com/
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require cinghie/yii2-ionicons "^1.0.5"
or add this line to the require section of your composer.json file.
"cinghie/yii2-ionicons": "^1.0.5"
Configuration
Add in the view for normal CSS
use cinghie\ionicons\IoniconsAsset;
IoniconsAsset::register($this);
Add in the view for minify CSS
use cinghie\ionicons\IoniconsMinifyAsset;
IoniconsMinifyAsset::register($this);