PHP Classes

File: example/index.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq   PHP Avatar Generator Class   example/index.php   Download  
File: example/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Avatar Generator Class
Generate people's avatar images using their names
Author: By
Last change:
Date: 4 years ago
Size: 259 bytes


Class file image Download
use Lablnet\Avatar;
$avatar = new Avatar;
//$avatar->getInstance()->setBlock(2); //change block
$imageDataUri = $avatar->getImgDataBase64('Denil',128,'','#daf45s');
"<img src=".$imageDataUri." />";