yii2fontawesome Font Awesome extension for Yii2

Yii2 Font Awesome

  1. Installation
  2. Usage

Font Awesome extension for Yii2

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"powerkernel/yii2-fontawesome": "*"

to the require section of your composer.json file.

Usage

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

<?= \powerkernel\fontawesome\Icon::widget(['icon'=>'university']) ?>
1 0
1 follower
0 downloads
Yii Version: 2.0
License: BSD-2-Clause
Category: User Interface
Developed by: Harry Tang
Created on: Jul 23, 2016
Last updated: 3 years ago

Related Extensions