2017 © Pedro Peláez
 

yii2-extension yii2-fontawesome

Simple Font Awesome helper for Yii2

image

iutbay/yii2-fontawesome

Simple Font Awesome helper for Yii2

  • Tuesday, May 2, 2017
  • by iutbay
  • Repository
  • 1 Watchers
  • 3 Stars
  • 14,411 Installations
  • PHP
  • 8 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 5 % Grown

The README.md

Font Awesome helper for Yii2

Font Awesome helper for Yii2., (*1)

Installation

The preferred way to install this helper is through composer., (*2)

Either run, (*3)

php composer.phar require "iutbay/yii2-fontawesome" "*"

or add, (*4)

"iutbay/yii2-fontawesome" : "*"

to the require section of your application's composer.json file., (*5)

Assets

To include Font Awesome assets, you should register it in view :, (*6)

\iutbay\yii2-fontawesome\FontAwesomeAsset::register($this);

Or as dependency in your app asset bundle :, (*7)

public $depends = [
    'iutbay\yii2fontawesome\FontAwesomeAsset',
];

Usage

use iutbay\yii2fontawesome\FontAwesome as FA;

// home icon : <i class="fa fa-home"></i>
echo FA::icon('home');

// 2x home icon : <i class="fa fa-home fa-2x"></i>
echo FA::icon('home 2x');

// fixed width home icon : <i class="fa fa-home fa-fw"></i>
echo FA::icon('home fw');

The Versions

02/05 2017

dev-master

9999999-dev https://github.com/iutbay/yii2-fontawesome

Simple Font Awesome helper for Yii2

  Sources   Download

by Kevin LEVRON

extension yii2 icon fontawesome

02/05 2017

0.0.1.1

0.0.1.1 https://github.com/iutbay/yii2-fontawesome

Simple Font Awesome helper for Yii2

  Sources   Download

by Kevin LEVRON

extension yii2 icon fontawesome

28/11 2014

0.0.1

0.0.1.0 https://github.com/iutbay/yii2-fontawesome

Simple Font Awesome helper for Yii2

  Sources   Download

The Requires

 

by Kevin LEVRON

extension yii2 icon fontawesome