PHP code example of wongyip / html-icons

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

    

wongyip / html-icons example snippets


echo
    implode("\n", [
        Icon::make('ufo')->render(),
        Icon::make('ufo')->duotone()->render(),
        Icon::make('ufo')->flipVertical()->render(),
        Icon::make('ufo')->fixedWidth()->render(),
        Icon::make('ufo')->size(5)->render(),
        Icon::make('ufo')->duotone()->flipVertical()->fixedWidth()->size(5)->render(),
    ]);