PHP code example of virtualwonders / yii2-fontawesome

1. Go to this page and download the library: Download virtualwonders/yii2-fontawesome 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/ */

    

virtualwonders / yii2-fontawesome example snippets


use virtualwonders\fontawesome\FontAwesomeAsset;

FontAwesomeAsset::register($this);

use virtualwonders\fontawesome\FontAwesomeMinifiedAsset;

FontAwesomeMinifiedAsset::register($this);

public $depends = [
    'yii\web\YiiAsset',
    'yii\bootstrap4\BootstrapAsset',
    'yii\bootstrap4\BootstrapPluginAsset',
    'virtualwonders\fontawesome\FontAwesomeAsset'
];

php composer.phar