webvimark/yii2-fontawesome

Yii2 font awesome asset

1.0.0 2016-09-15 07:28 UTC

This package is auto-updated.

Last update: 2024-04-29 02:27:01 UTC


README

Installation

The preferred way to install this extension is through composer.

Either run

composer require webvimark/yii2-fontawesome "*"

or add

"webvimark/yii2-fontawesome": "^1"

to the require section of your composer.json file.

Usage

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

webvimark\fontawesome\FontAwesomeAsset::register($this)

OR

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