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
Requires
- php: >=5.4.0
- illuminate/support: 4.2.x
- yzalis/identicon: 1.0.*@dev
This package is not auto-updated.
Last update: 2024-11-19 08:14:00 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