cerlestes/idsquare

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

1.0.1 2015-08-11 21:15 UTC

This package is not auto-updated.

Last update: 2024-11-09 16:16:55 UTC


README

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( "my-email-address@tld.com" );

This is a shortcut-function for the underlying IdSquare class:

<?php

require('idsquare.php');

$idsquare = new \Cerlestes\IdSquare\IdSquare( "my-email-address@tld.com" );
$idsquare->generateAndOutput();

Requirements

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

License

idsquare is released under the MIT license.