PHP Classes

File: example/index.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq   PHP Identicon   example/index.php   Download  
File: example/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Identicon
Generate an identicon image for a text string
Author: By
Last change:
Date: 4 years ago
Size: 255 bytes


Class file image Download
use Lablnet\Identicon;
$Identicon = new Identicon;
//$Identicon->getInstance()->setBlock(2); //change block
$imageDataUri = $Identicon->getImgDataBase64('php');
"<img src=".$imageDataUri." />";