yii2-ionicons Ionicons extension for Yii2

Yii2 Ionicons

  1. Installation
  2. Usage

Ionicons extension for Yii2


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.


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

<?= \powerkernel\ionicons\Icon::widget(['icon'=>'home']) ?>
1 0
1 follower
Yii Version: 2.0
License: BSD-2-Clause
Category: User Interface
Tags: Ionicons
Developed by: Harry Tang
Created on: Jul 27, 2016
Last updated: 4 years ago