PHPackages                             technicalguru/font-awesome - 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. technicalguru/font-awesome

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

technicalguru/font-awesome
==========================

Provide Free Font Awesome to PHP apps

v1.0.2(5y ago)11.0k1LGPL-3.0-or-laterPHPPHP &gt;=7.0.0

Since Nov 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/technicalguru/php-font-awesome)[ Packagist](https://packagist.org/packages/technicalguru/font-awesome)[ RSS](/packages/technicalguru-font-awesome/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (2)Versions (5)Used By (1)

php-font-awesome
================

[](#php-font-awesome)

Provides Free Font Awesome icons for PHP apps.

License
=======

[](#license)

This project is licensed under [GNU LGPL 3.0](LICENSE.md).

Installation
============

[](#installation)

By Composer
-----------

[](#by-composer)

```
composer install technicalguru/font-awesome

```

By Package Download
-------------------

[](#by-package-download)

You can download the source code packages from [GitHub Release Page](https://github.com/technicalguru/php-font-awesome/releases)

How to use
==========

[](#how-to-use)

Get the provided version number
-------------------------------

[](#get-the-provided-version-number)

```
$version = \TgFontAwesome\FontAwesome::getVersion();

```

Get the URI of a font library
-----------------------------

[](#get-the-uri-of-a-font-library)

The following method will give you URIs for your further inspection:

```
use TgFontAwesome\FontAwesome;

// Get URI to all icons library, as minified CSS
$uri = FontAwesome::getUri();

// Get URI to all icons library, as uncompressed CSS
$uri = FontAwesome::getUri('all');

// Get URI to all icons library, as minified Javascript
$uri = FontAwesome::getUri('all.min', FontAwesome::JS);

```

You can get the correct HTML script tag to be included in your HTML output in the same way:

```
use TgFontAwesome\FontAwesome;

// Get  stylesheet tag to all icons library, as minified CSS
$tag = FontAwesome::getLink();

// Get  stylesheet tag to all icons library, as uncompressed CSS
$tag = FontAwesome::getLink('all');

// Get  tag to all icons library, as minified Javascript
$tag = FontAwesome::getLink('all.min', FontAwesome::JS);

```

All methods will throw an `FontAwesomeException` when you ask for a non-existing library.

Contribution
============

[](#contribution)

Report a bug, request an enhancement or pull request at the [GitHub Issue Tracker](https://github.com/technicalguru/php-font-awesome/issues).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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 ~0 days

Total

3

Last Release

2056d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6360165?v=4)[Ralph Schuster](/maintainers/technicalguru)[@technicalguru](https://github.com/technicalguru)

---

Top Contributors

[![technicalguru](https://avatars.githubusercontent.com/u/6360165?v=4)](https://github.com/technicalguru "technicalguru (17 commits)")

---

Tags

iconsfont-awesomeawesomeicon-library

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/technicalguru-font-awesome/health.svg)

```
[![Health](https://phpackages.com/badges/technicalguru-font-awesome/health.svg)](https://phpackages.com/packages/technicalguru-font-awesome)
```

###  Alternatives

[rmrevin/yii2-fontawesome

Asset Bundle for Yii2 with Font Awesome

1574.2M135](/packages/rmrevin-yii2-fontawesome)[fortawesome/wordpress-fontawesome

Official Font Awesome WordPress plugin composer package.

682.1k](/packages/fortawesome-wordpress-fontawesome)[swissup/module-font-awesome

FontAwesome for Magento2

117.2k1](/packages/swissup-module-font-awesome)

PHPackages © 2026

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