PHP code example of gutocf / cakephp-font-awesome

1. Go to this page and download the library: Download gutocf/cakephp-font-awesome library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

gutocf / cakephp-font-awesome example snippets


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

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