PHP code example of antonchaikin / f3-material-icons
1. Go to this page and download the library: Download antonchaikin/f3-material-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/ */
antonchaikin / f3-material-icons example snippets
use F3MaterialIcons\MaterialIcons;
MaterialIcons::register();
echo $f3->icon('home'); // returns <svg>...</svg> content
$f3->route('GET /icons-browser', 'F3MaterialIcons\\MaterialIcons::browser');