Yii 2.0: yii2-ionicons

Ionicons extension for Yii2
1 follower

Yii2 Ionicons

Ionicons extension for Yii2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist powerkernel/yii2-ionicons "*"

or add

"powerkernel/yii2-ionicons": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \powerkernel\ionicons\Icon::widget(['icon'=>'home']) ?>

Be the first person to leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet