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

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

avolle/cakephp-font-awesome
===========================

FontAwesome plugin for CakePHP

2.0.0(2y ago)02.8kMITPHPPHP ^8.1

Since Jun 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mentisy/cakephp-font-awesome)[ Packagist](https://packagist.org/packages/avolle/cakephp-font-awesome)[ Docs](https://github.com/mentisy/cakephp-font-awesome)[ RSS](/packages/avolle-cakephp-font-awesome/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (8)Used By (0)

FontAwesome CakePHP Plugin
==========================

[](#fontawesome-cakephp-plugin)

Create FontAwesome icons with a CakePHP helper

NB! FontAwesome scripts not included in plugin. You can use FontAwesome kits without downloading assets. See further down.

Version map:
------------

[](#version-map)

PluginBranchCakePHP2.xmain5.x^8.11.x1.x4.x^7.4 | ^8.0Supports these Fonts:
---------------------

[](#supports-these-fonts)

- Solid
- Regular
- Light
- Thin
- Duo
- Brand
- Sharp \* through passing fa-sharp to class option

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

[](#installation)

`composer require avolle/cakephp-font-awesome`

Usage
-----

[](#usage)

Add FontAwe helper to your AppView (`src/View/AppView.php`)

```
/**
 * Application View
 *
 * @property \Avolle\FontAwesome\View\Helper\FontAweHelper $FontAwe
 */
class AppView extends View
{
    public function initialize(): void
    {
        $this->loadHelper('Avolle/FontAwesome.FontAwe');
    }
}
```

Icons with title (optional)

```
echo $this->FontAwe->solid('receipt'); //
echo $this->FontAwe->regular('receipt', 'Title'); //  Title
echo $this->FontAwe->light('receipt'); //
echo $this->FontAwe->duo('receipt'); //
echo $this->FontAwe->brand('github'); //
echo $this->FontAwe->thin('receipt'); //
```

Alternatively: Icons with title (optional)

```
echo $this->FontAwe->icon('fas', 'receipt'); //
echo $this->FontAwe->icon('far', 'receipt', 'Title'); //  Title
echo $this->FontAwe->icon('fal', 'receipt'); //
echo $this->FontAwe->icon('fad', 'receipt'); //
echo $this->FontAwe->icon('fab', 'github'); //
echo $this->FontAwe->icon('fat', 'receipt'); //

echo $this->FontAwe->icon(FontAweHelper::SOLID, 'receipt'); //
echo $this->FontAwe->icon(FontAweHelper::REGULAR, 'receipt', 'Title'); //  Title
echo $this->FontAwe->icon(FontAweHelper::LIGHT, 'receipt'); //
echo $this->FontAwe->icon(FontAweHelper::DUO, 'receipt'); //
echo $this->FontAwe->icon(FontAweHelper::BRAND, 'github'); //
echo $this->FontAwe->icon(FontAweHelper::THIN, 'receipt'); //
```

Links with icon

```
// Use string urls
echo $this->FontAwe->solidLink('receipt', '/some-url'); //
// Use router urls
echo $this->FontAwe->regularLink('receipt', ['controller' => 'Icons', 'action' => 'index']); //
// Add a title after the icon
echo $this->FontAwe->lightLink('receipt', '/some-url/', 'Icons'); //  Icons
// Add a class to the icon (not anchor element)
echo $this->FontAwe->duoLink('receipt', '/some-url/', 'Icons', ['icon' => ['class' => 'text-success']]); //  Icons
```

Using the sharp styling

```
// Icon
echo $this->FontAwe->solid('receipt', null, ['class' => 'fa-sharp']); //
// Link
echo $this->FontAwe->solidLink('receipt', '/some-url/', null, ['icon' => ['class' => 'fa-sharp']]); //
```

Load a FontAwesome kit script

```
echo $this->FontAwe->scriptKit('3247824fdhufhd'); //
```

Load a FontAwesome script (not a kit, but either downloaded or CDN)

```
echo $this->FontAwe->script(); //
echo $this->FontAwe->script('font-awesome'); //
echo $this->FontAwe->script('all', 'font-awesome/'); //
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 95.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 ~171 days

Recently: every ~152 days

Total

6

Last Release

937d ago

Major Versions

1.x-dev → 2.0.02023-10-14

PHP version history (3 changes)1.0.0PHP &gt;=7.4

1.x-devPHP ^7.4|^8.0

2.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/f0f795abeda0f3ab065129de8d0fc5583813d488b91d4794427b36c0d4608f7a?d=identicon)[avolle](/maintainers/avolle)

---

Top Contributors

[![mentisy](https://avatars.githubusercontent.com/u/8539693?v=4)](https://github.com/mentisy "mentisy (21 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

cakephpcakephp-pluginFontAwesome

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[markstory/asset_compress

An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.

3761.0M11](/packages/markstory-asset-compress)[ishanvyas22/asset-mix

Asset Mix plugin for CakePHP

3375.4k2](/packages/ishanvyas22-asset-mix)[cakedc/tiny-mce

TinyMCE Plugin for CakePHP

10790.2k](/packages/cakedc-tiny-mce)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

2988.9k3](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-geo

A CakePHP plugin around geocoding tools and helpers.

51174.9k4](/packages/dereuromark-cakephp-geo)[cakedc/enum

Enumeration list Plugin for CakePHP 5

30222.5k2](/packages/cakedc-enum)

PHPackages © 2026

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