powerkernel/yii2-fontawesome Font Awesome extension for Yii2

extension

Yii2 Font Awesome

Font Awesome extension for Yii2

Latest Stable Version Total Downloads Build Status

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require powerkernel/yii2-fontawesome "~2.0"

or add

"powerkernel/yii2-fontawesome": "~2.0"

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([
        'prefix'=>'fas', // Optional, can be fab, fas, far or fal
        'name' => 'address-book', // icon name
        'size'=>'fa-5x', // Optional
        'styling'=>'fa-spin' // Optional
    ]) 
?>

For more details about how to use, see: https://fontawesome.com/how-to-use

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



2.0.3 is the latest of 8 releases



Apache-2.0 license
Stats
1 github stars & 1 github forks
0 downloads in the last day
9 downloads in the last 30 days
78 total downloads