idsquare is a small and easy-to-use library that creates identicons (unique images used for identification) from simple squares with beautiful colors.
All you have to do in order to generate your own identicons using idsquare is just one little function call:
<?php
require('idsquare.php');
\Cerlestes\IdSquare\output( "[email protected]" );
This is a shortcut-function for the underlying IdSquare class:
<?php
require('idsquare.php');
$idsquare = new \Cerlestes\IdSquare\IdSquare( "[email protected]" );
$idsquare->generateAndOutput();
idsquare requires PHP 5.x or newer with an installed GDLib.
idsquare is released under the MIT license.