thoulah/yii2-fontawesome-inline Inline Font Awesome Icons for Yii2 – without JavaScript

Inline Font Awesome Icons for Yii2

  1. Installation
  2. Quick Usage
  3. Unit testing

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

0 0
1 follower
2 432 downloads
Yii Version: 2.0
License: MIT
Category: User Interface
Developed by: Иван
Created on: Jun 12, 2019
Last updated: 4 years ago
Packagist Profile
Github Repository

Related Extensions