PHPackages                             hofff/contao-iconfont - 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. hofff/contao-iconfont

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

hofff/contao-iconfont
=====================

Insert tag for Contao Open Source CMS to insert FontAwesome icons and individual icons

3.0.1(4mo ago)2853LGPL-3.0-or-laterPHPPHP ^8.2CI failing

Since Dec 1Pushed 4mo ago3 watchersCompare

[ Source](https://github.com/hofff/contao-iconfont)[ Packagist](https://packagist.org/packages/hofff/contao-iconfont)[ Docs](https://www.hofff.com)[ RSS](/packages/hofff-contao-iconfont/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (13)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4b673ef0a098b2b105703592df7ba7601d53bfc0462eb1cb7360bc6ee1d91a44/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f686f6666662f636f6e74616f2d69636f6e666f6e742e7376673f7374796c653d666c6174)](https://packagist.org/packages/hofff/contao-iconfont)[![Installations via composer per month](https://camo.githubusercontent.com/7b4810be0b19f25e4d6a1e11e7a02b116f99ee13daa6d3d2e09b3201459db3da/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f686f6666662f636f6e74616f2d69636f6e666f6e742e7376673f7374796c653d666c6174)](https://packagist.org/packages/hofff/contao-iconfont)[![Installations via composer total](https://camo.githubusercontent.com/ee157ec78f94323365a26442ec5018a768363ceda815b222d201bcfc6832cb69/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686f6666662f636f6e74616f2d69636f6e666f6e742e7376673f7374796c653d666c6174)](https://packagist.org/packages/hofff/contao-iconfont)

Contao Extension: hofff.com - Iconfont
======================================

[](#contao-extension-hofffcom---iconfont)

This extension provides some insert tags to insert FontAwesome and individual icons.

Features
--------

[](#features)

### insert all FontAwesome icons

[](#insert-all-fontawesome-icons)

#### Basic Use

[](#basic-use)

see

**`{{icon-fa*::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

#### Fixed Width Icons

[](#fixed-width-icons)

see

**`{{icon-fa*-fw::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

#### Bordered + Pulled Icons

[](#bordered--pulled-icons)

see

**wrap text around an icon - left**

**`{{icon-fa*-left::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

**wrap text around an icon - right**

**`{{icon-fa*-right::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

**wrap text around an icon with border - left**

**`{{icon-fa*-border-left::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

**wrap text around an icon with border - right**

**`{{icon-fa*-border-right::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

#### Animating Icons

[](#animating-icons)

see

**rotate icon**

**`{{icon-fa*-spin::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

**pulse icon**

**`{{icon-fa*-pulse::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

#### Rotating Icons

[](#rotating-icons)

see

**turn 90° clockwise**

**`{{icon-fa*-rotate-90::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

**turn 180° clockwise**

**`{{icon-fa*-rotate-180::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

**turn 270° clockwise**

**`{{icon-fa*-rotate-270::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

**mirror icon horizontally**

**`{{icon-fa*-flip-horizontal::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

**mirror icon vertically**

**`{{icon-fa*-flip-vertical::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

**mirror icon vertically and horizontally (requires 5.7.0 or greater)**

**`{{icon-fa*-flip-both::icon-name}}`** [1](#user-content-fn-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b)

```

```

#### Stacked Icons

[](#stacked-icons)

see

**icon with square background**

**`{{icon-fa*-square::icon-name}}`**

```

```

**icon with square background - only border**

**`{{icon-fa*-square-border::icon-name}}`**

```

```

**icon with circle background**

**`{{icon-fa*-circle::icon-name}}`**

```

```

**icon with circle background - only border**

**`{{icon-fa*-circle-border::icon-name}}`**

```

```

**icon with prohibition sign**

**`{{icon-fa-ban::icon-name}}`**

```

```

### insert your own icon font (you have to provide some css by your own)

[](#insert-your-own-icon-font-you-have-to-provide-some-css-by-your-own)

**`{{icon::your-icon-name}}`**

```

```

CSS Example for your own icon font
----------------------------------

[](#css-example-for-your-own-icon-font)

```
/* Include your icon font files */

@font-face {
  font-family: "Your icon font name";
  src: url('your-icon-font-filename.eot') format('embedded-opentype'),
  url('your-icon-font-filename.ttf') format('truetype'),
  url('your-icon-font-filename.woff') format('woff'),
  url('your-icon-font-filename.woff2') format('woff2'),
  url('your-icon-font-filename.svg') format('svg');
}

/* base styles for .icon */

.icon {
  font-family: "Your icon font name";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* replace individual icon */

.icon-your-icon-1 {
  &:before {
    content: "\XXXX";
  }
}

```

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

[](#installation)

Install the extension via composer: [hofff/contao-iconfont](https://packagist.org/packages/hofff/contao-iconfont).

If you prefer to install it manually, download the latest release here:

Compatibility
-------------

[](#compatibility)

- min. Contao version: ^4.9
- PHP min. 7.4 || 8.0

Dependency
----------

[](#dependency)

- You have to include FontAwesome sources see

Footnotes
---------

1. The `*` should be replaced with the FontAwesome-Style you want: fas=[Solid](https://fontawesome.com/icons?s=solid), far=[Regular](https://fontawesome.com/icons?s=regular), fal=[Light](https://fontawesome.com/icons?s=light) or fab=[Brands](https://fontawesome.com/icons?s=brands) [↩](#user-content-fnref-FontAwesome-Style-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩2](#user-content-fnref-FontAwesome-Style-2-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩3](#user-content-fnref-FontAwesome-Style-3-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩4](#user-content-fnref-FontAwesome-Style-4-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩5](#user-content-fnref-FontAwesome-Style-5-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩6](#user-content-fnref-FontAwesome-Style-6-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩7](#user-content-fnref-FontAwesome-Style-7-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩8](#user-content-fnref-FontAwesome-Style-8-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩9](#user-content-fnref-FontAwesome-Style-9-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩10](#user-content-fnref-FontAwesome-Style-10-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩11](#user-content-fnref-FontAwesome-Style-11-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩12](#user-content-fnref-FontAwesome-Style-12-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩13](#user-content-fnref-FontAwesome-Style-13-421ab2b38bb8bc1ea4509d21d9b52c0b) [↩14](#user-content-fnref-FontAwesome-Style-14-421ab2b38bb8bc1ea4509d21d9b52c0b)

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance77

Regular maintenance activity

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 70% 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 ~416 days

Recently: every ~622 days

Total

9

Last Release

126d ago

Major Versions

1.0.0-rc2 → 2.0.0-beta12018-04-03

1.0.0 → 3.0.02024-09-25

PHP version history (2 changes)1.0.0-rc1PHP ^5.6 || ^7.0

3.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1232819?v=4)[Nicky Hoff](/maintainers/frontendschlampe)[@frontendschlampe](https://github.com/frontendschlampe)

---

Top Contributors

[![frontendschlampe](https://avatars.githubusercontent.com/u/1232819?v=4)](https://github.com/frontendschlampe "frontendschlampe (14 commits)")[![dmolineus](https://avatars.githubusercontent.com/u/1186266?v=4)](https://github.com/dmolineus "dmolineus (6 commits)")

---

Tags

contaoiconFontAwesomeiconfont

### Embed Badge

![Health badge](/badges/hofff-contao-iconfont/health.svg)

```
[![Health](https://phpackages.com/badges/hofff-contao-iconfont/health.svg)](https://phpackages.com/packages/hofff-contao-iconfont)
```

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)

PHPackages © 2026

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