ielijose/laravel-identicon

There is no license information available for the latest version (dev-master) of this package.

dev-master 2014-09-11 15:15 UTC

This package is not auto-updated.

Last update: 2024-04-23 05:32:18 UTC


README

Add this to your composer.json and update your composer.

Add to your service provider in app/config/app.php

'Rdpascua\Identicon\IdenticonServiceProvider',

And add this to your facades

'Identicon'  => 'Rdpascua\Identicon\Facade',

Usage

//Displays and generates an image
Identicon::displayImage('foo');

//get the image data
Identicon::getImageData('bar');

//base64 image
Identicon::getImageDataUri('baz');

//You can also adjust the size of the identicon and color
Identicon::displayImage('foo', 256, 'B4D455');

Credits

License

This wrapper is licensed under the MIT license