PHP code example of cybercog / php-svg-font
1. Go to this page and download the library: Download cybercog/php-svg-font 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/ */
cybercog / php-svg-font example snippets
$fontList = \Cog\SvgFont\FontList::ofFile(__DIR__ . '/DejaVuSans.svg');
$font = \Cog\SvgFont\FontList::ofFile(__DIR__ . '/DejaVuSans.svg')->getById('DejaVuSans');
shell
composer