yiirocks/svg-inline-fontawesome Inline Font Awesome Icons for Yii

Inline Font Awesome for Yii

  1. Installation
  2. Usage
  3. Unit testing


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

This extension provides simple functions for Yii framework 3.0 applications to add Font Awesome Icons inline.

Packagist Version PHP from Packagist Packagist GitHub


The package could be installed via composer:

composer require yiirocks/svg-inline-fontawesome


The default configuration will enable $svg in any view.

echo $svg->fai('cookie');

Available options can be found in the documentation.

Unit testing

The package is tested with PHPUnit. To run tests:


Code Climate maintainability Codacy branch grade Scrutinizer code quality (GitHub/Bitbucket) GitHub Workflow Status

0 0
1 follower
Yii Version: Unknown
License: MIT
Category: Web Service
Developed by: Иван
Created on: Dec 24, 2020
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions