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

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

armin/font-awesome-bundle
=========================

Symfony bundle to provide Font Awesome svg icons as inline svg sprite.

1.0.0(6y ago)03181[3 PRs](https://github.com/a-r-m-i-n/font-awesome-bundle/pulls)MITPHPPHP &gt;=7.2.0

Since Apr 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/a-r-m-i-n/font-awesome-bundle)[ Packagist](https://packagist.org/packages/armin/font-awesome-bundle)[ RSS](/packages/armin-font-awesome-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (5)Used By (0)

FontAwesome - Symfony Bundle
============================

[](#fontawesome---symfony-bundle)

This bundle for Symfony Framework, allows you to add [FontAwesome](https://fontawesome.com/) SVG icons, inline in your html.

It is released under MIT license.

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

[](#installation)

To install this package, you can just use composer:

```
$ composer require armin/font-awesome-bundle

```

This will also require the [fortawesome/font-awesome](https://packagist.org/packages/fortawesome/font-awesome) package.

Please make sure, you've registred the bundle correctly in your project's `config/bundles.php`. There is no configuration to be made.

Features
--------

[](#features)

- Embed FontAwesome svg icons in our html output
- Without need of any CSS or JavaScript include
- Usage of SVG sprites:
    - When the same icon is used several times on the same page (e.g. arrow icons), every additional instance of this icon will point to the first occurence in html output
    - Each instance can have individual options, like size or color
    - This saves space, in html output
- No need to copy/symlink SVG assets from `vendor/` to `public/`

Usage
-----

[](#usage)

Once this bundle is installed, you can use the following Twig function:

```
 {{ fa("smile-beam") }} == {{ fa("fas smile-beam") }}
 {{ fa("far smile-beam") }}
 {{ fa("far smile-beam", {size: 256, color: '#d50', class: 'card shadow'}) }}

```

It is recommended, to add some default CSS. All icons in html output, will have got the class `fa-svg-icon` set:

```
.fa-svg-icon {
  width: 32px;
  height: 32px;
  fill: #444;
}

```

When you provide options, like size or color, inline styles will overwrite the default CSS.

Support
-------

[](#support)

If you like this Symfony bundle, you are invited to [donate some funds](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2DCCULSKFRZFU)to support further development. Thank you!

For help please visit the issue section on Github.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2255d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/355aa463a532a530009c06219f83ab8b20a9b80a2bc8995064b6d390c6427735?d=identicon)[ArminVieweg](/maintainers/ArminVieweg)

---

Top Contributors

[![a-r-m-i-n](https://avatars.githubusercontent.com/u/1275298?v=4)](https://github.com/a-r-m-i-n "a-r-m-i-n (1 commits)")

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)[contao/core-bundle

Contao Open Source CMS

1231.6M2.8k](/packages/contao-core-bundle)

PHPackages © 2026

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