Skip to content

Inline Font Awesome for Yii

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 3.0 applications to add Font Awesome Icons inline.

Packagist Version PHP from Packagist Packagist GitHub GitHub Workflow Status

Stats for Nerds

Coverage MSI Tests Assertions

Installation

composer require yiirocks/svg-inline-fontawesome

Usage

The default configuration will enable $svg in any view.

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

The complete reference guide is available at Yii.Rocks.

Releases

Sponsor this project

Used by

Contributors

Languages