ielijose / laravel-identicon
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ielijose/laravel-identicon
Requires
- php: >=5.4.0
- illuminate/support: 4.2.x
- yzalis/identicon: 1.0.*@dev
This package is not auto-updated.
Last update: 2025-10-07 12:35:31 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