<?php use Lablnet\Avatar; require '../vendor/autoload.php'; $avatar = new Avatar; //$avatar->getInstance()->setBlock(2); //change block $imageDataUri = $avatar->getImgDataBase64('Denil',128,'','#daf45s'); echo "<img src=".$imageDataUri." />";
info at phpclasses dot org