PHPackages                             thoulah/yii2-fontawesome-inline - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. thoulah/yii2-fontawesome-inline

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

thoulah/yii2-fontawesome-inline
===============================

Inline Font Awesome Icons for Yii2 – without JavaScript

1.1.6(5y ago)25.9k[2 PRs](https://github.com/YiiRocks/yii2-fontawesome-inline/pulls)MITPHPPHP &gt;=7.1.0

Since Jun 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/YiiRocks/yii2-fontawesome-inline)[ Packagist](https://packagist.org/packages/thoulah/yii2-fontawesome-inline)[ Docs](https://yii.rocks/yii2-fontawesome-inline/)[ RSS](/packages/thoulah-yii2-fontawesome-inline/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (7)Versions (12)Used By (0)

Inline Font Awesome Icons for Yii2
==================================

[](#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](http://www.yiiframework.com/) applications to add [Font Awesome](https://fontawesome.com/) [Icons](https://fontawesome.com/icons) inline ***without the use of JavaScript***.

[![Packagist Version](https://camo.githubusercontent.com/b237f71f7acace74077ad528e7f084dd1935a9d4083688db33e6e0508018685a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74686f756c61682f796969322d666f6e74617765736f6d652d696e6c696e652e737667)](https://packagist.org/packages/thoulah/yii2-fontawesome-inline)[![PHP from Packagist](https://camo.githubusercontent.com/346d94025a1dc6f2517fde6c3241d4b81557b10e372991162cea1ed0bee3851c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f74686f756c61682f796969322d666f6e74617765736f6d652d696e6c696e652e737667)](https://php.net/)[![Packagist](https://camo.githubusercontent.com/9139de8ce6211d125d834078fa888315b9c201e3ab3d91d5f441466380cf9dd6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74686f756c61682f796969322d666f6e74617765736f6d652d696e6c696e652e737667)](https://packagist.org/packages/thoulah/yii2-fontawesome-inline)[![GitHub](https://camo.githubusercontent.com/d351c4393b695019b372da9b4780b0add3bbc43d21c6515ea460783b7f9d6326/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f596969526f636b732f796969322d666f6e74617765736f6d652d696e6c696e652e737667)](https://github.com/YiiRocks/yii2-fontawesome-inline/blob/master/LICENSE)

Installation
------------

[](#installation)

The package could be installed via composer:

```
composer require thoulah/yii2-fontawesome-inline
```

Quick Usage
-----------

[](#quick-usage)

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

Various implementations and options are available. Please visit [Yii.Rocks](https://www.yii.rocks/yii2-fontawesome-inline/) for more information.

Unit testing
------------

[](#unit-testing)

The package is tested with [PHPUnit](https://phpunit.de/). To run tests:

```
./vendor/bin/phpunit
```

[![Code Climate maintainability](https://camo.githubusercontent.com/acca60e934ebaa80bcc85cb9c10b04454aa51d800ee29e016796371336f03090/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f596969526f636b732f796969322d666f6e74617765736f6d652d696e6c696e652e737667)](https://codeclimate.com/github/YiiRocks/yii2-fontawesome-inline)[![Codacy branch grade](https://camo.githubusercontent.com/564c78a7ab214e941d91093a4346b93aa04eab57f3c6c933f573546316c81f83/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f37373335396230616538313334313138393564613764333362623030396266302f6d61737465722e737667)](https://app.codacy.com/gh/YiiRocks/yii2-fontawesome-inline)[![Scrutinizer code quality (GitHub/Bitbucket)](https://camo.githubusercontent.com/f6d9daeab809a1ae108a719ec142df4e907fed0747274f98a36332ba46963c99/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f796969726f636b732f796969322d666f6e74617765736f6d652d696e6c696e652f6d61737465722e737667)](https://scrutinizer-ci.com/g/yiirocks/yii2-fontawesome-inline/)[![Travis (.com) branch](https://camo.githubusercontent.com/e7b6a1d2f2ab2d6a954a894fbaa33efc57cd18dcd80a3aab4d4e85284ab1c605/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f796969726f636b732f796969322d666f6e74617765736f6d652d696e6c696e652f6d61737465722e737667)](https://travis-ci.com/yiirocks/yii2-fontawesome-inline)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~70 days

Recently: every ~137 days

Total

9

Last Release

1970d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1957a3dc890165f142079565dc6b0ef59c26838a36fba5f052985e34612ce269?d=identicon)[mr42](/maintainers/mr42)

---

Top Contributors

[![Mister-42](https://avatars.githubusercontent.com/u/68641750?v=4)](https://github.com/Mister-42 "Mister-42 (98 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (14 commits)")

---

Tags

extensionfontawesomeiconsinlineinline-fontjavascriptpackagistphpsvgyii2bundlehelpersvgyii2extensionwidgetyiicomponentbootstrapasseticonfontinlineFontAwesomeawesome

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/thoulah-yii2-fontawesome-inline/health.svg)

```
[![Health](https://phpackages.com/badges/thoulah-yii2-fontawesome-inline/health.svg)](https://phpackages.com/packages/thoulah-yii2-fontawesome-inline)
```

###  Alternatives

[rmrevin/yii2-fontawesome

Asset Bundle for Yii2 with Font Awesome

1474.0M134](/packages/rmrevin-yii2-fontawesome)[kartik-v/yii2-helpers

A collection of useful helper functions for Yii Framework 2.0

883.0M29](/packages/kartik-v-yii2-helpers)[kartik-v/yii2-icons

Set of icon frameworks for use in Yii Framework 2.0

73970.3k34](/packages/kartik-v-yii2-icons)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
