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
Requires
- php: 5.*
- ext-gd: *
This package is not auto-updated.
Last update: 2024-12-21 16:55:09 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.
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.