Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.03 KB

README.md

File metadata and controls

50 lines (29 loc) · 1.03 KB

idsquare

idsquare is a small and easy-to-use library that creates identicons (unique images used for identification) from simple squares with beautiful colors.

Example 1 Example 2 Example 3 Example 4 Example 5

How to use?

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();

Requirements

idsquare requires PHP 5.x or newer with an installed GDLib.

License

idsquare is released under the MIT license.