PHP code example of yassinedoghri / codeigniter-iconify

1. Go to this page and download the library: Download yassinedoghri/codeigniter-iconify 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/ */

    

yassinedoghri / codeigniter-iconify example snippets


public $helpers = [/*...other helpers...*/, 'icons'];

<?= icon('material-symbols:bolt') 

// new file - app/Config/Icons.php


declare(strict_types=1);

namespace Config;

// ...
use CodeIgniterIcons\Config\Icons as CodeIgniterIcons;

class Icons extends CodeIgniterIcons
{
    public string $phpIconsConfigPath = ROOTPATH . 'php-icons.php';
}