rokorolov/yii2-fontawesome-asset Is a bundle for iconic font and CSS framework - Font Awesome

extensionfontasseticonfontawesome

yii2-fontawesome-asset

Define asset bundle for iconic font and CSS framework - Font Awesome

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"rokorolov/yii2-fontawesome-asset": "*"

to the require section of your composer.json file.

Usage

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

// Register the bundle on a view
rokorolov\fontawesome\FontAwesomeAsset::register($this);

or as dependency in your main application asset bundle:

class AppAsset extends AssetBundle
{
    public $depends = [
        ...
        'rokorolov\fontawesome\FontAwesomeAsset'
    ];
}

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



v1.0.0 is the latest of one release



BSD-3-Clause license
Stats
0 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
372 total downloads