rokorolov/yii2-fontawesome-asset

Is a bundle for iconic font and CSS framework - Font Awesome

Installs: 371

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:yii2-extension

v1.0.0 2016-01-25 09:14 UTC

This package is not auto-updated.

Last update: 2021-01-08 22:30:58 UTC


README

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'
    ];
}