gutocf/cakephp-font-awesome

Helper for CakePHP 4 that wraps khill/fontawesomephp library

Installs: 2 032

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:cakephp-plugin

1.0.0 2022-06-23 20:03 UTC

This package is auto-updated.

Last update: 2024-11-24 01:15:40 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');