Skip to content

YiiRocks/yii2-fontawesome-inline

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Inline Font Awesome Icons for Yii2

inline
/ˈɪnlʌɪn/
adjective

included as part of the main text on a page, rather than in a separate section

This extension provides simple functions for Yii framework 2.0 applications to add Font Awesome Icons inline without the use of JavaScript.

Packagist Version PHP from Packagist Packagist GitHub

Installation

The package could be installed via composer:

composer require thoulah/yii2-fontawesome-inline

Quick Usage

echo Yii::$app->fontawesome->name('github', 'brands')->fill->('#003865');

Various implementations and options are available. Please visit Yii.Rocks for more information.

Unit testing

The package is tested with PHPUnit. To run tests:

./vendor/bin/phpunit

Code Climate maintainability Codacy branch grade Scrutinizer code quality (GitHub/Bitbucket) Travis (.com) branch