PHP code example of khill / fontawesomephp

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

    

khill / fontawesomephp example snippets


'Khill\FontAwesome\Laravel\FontAwesomeServiceProvider'

FontAwesome::css() // Or FA::css() if you want to use the alias

FontAwesome::js() // Or FA::js() if you want to use the alias

FontAwesome::js(true) // Or FA::js(true) if you want to use the alias