Guest User

Untitled

a guest
Nov 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2. use Lablnet\Identicon;
  3. require 'vendor/autoload.php';
  4. $Identicon = new Identicon;
  5. //$Identicon->getInstance()->setBlock(2); //change block
  6. $imageDataUri = $Identicon->getImgDataBase64('php');
  7. echo "<img src=".$imageDataUri." />";
Add Comment
Please, Sign In to add comment