gutocf/cakephp-font-awesome

Helper for CakePHP 4 that wraps khill/fontawesomephp library

Maintainers

Package info

github.com/gutocf/cakephp-font-awesome

Type:cakephp-plugin

pkg:composer/gutocf/cakephp-font-awesome

Statistics

Installs: 2 733

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

1.0.0 2022-06-23 20:03 UTC

This package is auto-updated.

Last update: 2026-02-24 04:23:44 UTC


README

Build Status Coverage Status Latest Stable Version Total Downloads License PHPStan Packagist Version

Requirements

  • PHP ^8.0
  • CakePHP ^4

Installation

Install the plugin with composer

composer require gutocf/cakephp-font-awesome

Load helper

Load the helper at Application.php file

public function initialize(): void
{
  //...
  $this->loadHelper('Gutocf/FontAwesome.FontAwesome');
}

Use it at your views

echo $this->FontAwesome->icon('check');