webvimark/yii2-fontawesome

Yii2 font awesome asset

1.0.0 2016-09-15 07:28 UTC

This package is auto-updated.

Last update: 2024-10-29 04:04:05 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',
    ];
}