PHPackages                             macgyer/yii2-icon - 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. macgyer/yii2-icon

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

macgyer/yii2-icon
=================

Icon helper classes and widgets for Yii2

2.5.0(6y ago)079BSD-3-ClausePHPPHP &gt;=5.6.0

Since Jan 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/MacGyer/yii2-icon)[ Packagist](https://packagist.org/packages/macgyer/yii2-icon)[ Docs](http://github.com/macgyer/yii2-icon)[ RSS](/packages/macgyer-yii2-icon/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (2)Versions (12)Used By (0)

Icon widgets and helper classes for Yii2
========================================

[](#icon-widgets-and-helper-classes-for-yii2)

This project has been discontinued.
-----------------------------------

[](#this-project-has-been-discontinued)

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

[](#installation)

The preferred way of installation is through Composer. If you don't have Composer you can get it here:

You must be able to load NPM assets via Composer. This can either be achieved by the FXP composer asset plugin or by using [Asset Packagist](https://asset-packagist.org/).

To install the package add the following to the `require` section of your composer.json:

```
"require": {
    "macgyer/yii2-icon": "*"
},

```

Usage
-----

[](#usage)

Please check sources for examples and details.

```
// via named magical method
echo FontawesomeIconHelper::faUser()->regular()->size(8)->render();

// via instance by icon name and additional config
echo FontawesomeIconHelper::getInstance('user', ['flipVertical' => true])->regular()->render();
```

Changelog
---------

[](#changelog)

### 2.5.0 - 2019-12-27

[](#250---2019-12-27)

- updated to FA version 5.12.0

### 2.4.0 - 2019-10-25

[](#240---2019-10-25)

- use native composer package to load FA

### 2.3.0 - 2019-10-25

[](#230---2019-10-25)

- updated to FA version 5.11.2

### 2.2.0 - 2019-06-07

[](#220---2019-06-07)

- updated to FA version 5.9.0

### 2.1.0 - 2019-01-02

[](#210---2019-01-02)

- updated to FA version 5.6.3

### 2.0.0 - 2018-12-05

[](#200---2018-12-05)

- **Please note:** This release introduces breaking changes
- updated to FA version 5.5.0
- make use of FA NPM asset

### 1.0.3 - 2018-05-14

[](#103---2018-05-14)

- updated to FA version 5.0.13

### 1.0.2 - 2018-04-20

[](#102---2018-04-20)

- updated to FA version 5.0.10

### 1.0.1 - 2018-03-03

[](#101---2018-03-03)

- updated to FA version 5.0.8

### 1.0.0 - 2018-01-02

[](#100---2018-01-02)

- initial release
- FA5 version: 5.0.2

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~80 days

Recently: every ~90 days

Total

10

Last Release

2377d ago

Major Versions

1.0.3 → 2.0.02018-12-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/78f83100a0024086e9dcecb006456faedf561f296fbc0b6a86b6eb1f052e46c0?d=identicon)[macgyer](/maintainers/macgyer)

---

Top Contributors

[![MacGyer](https://avatars.githubusercontent.com/u/2939625?v=4)](https://github.com/MacGyer "MacGyer (33 commits)")

---

Tags

fontawesome5iconsyii2yii2bootstrapwidgetsiconFontAwesomematerial-icons

### Embed Badge

![Health badge](/badges/macgyer-yii2-icon/health.svg)

```
[![Health](https://phpackages.com/badges/macgyer-yii2-icon/health.svg)](https://phpackages.com/packages/macgyer-yii2-icon)
```

###  Alternatives

[fortawesome/font-awesome

The iconic font, CSS, and SVG framework

76.7k7.5M141](/packages/fortawesome-font-awesome)[asinfotrack/yii2-toolbox

Yii2-Toolbox is a collection of useful helpers, widgets etc. extending the basic functionality of Yii2

1130.8k5](/packages/asinfotrack-yii2-toolbox)

PHPackages © 2026

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