Package Data | |
---|---|
Maintainer Username: | ielijose |
Maintainer Contact: | rdpascua@outlook.com (Ricardo Pascua Jr) |
Package Create Date: | 2014-09-06 |
Package Last Update: | 2014-09-11 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-11-19 03:23:37 |
Package Statistics | |
---|---|
Total Downloads: | 43 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
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',
//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');
This wrapper is licensed under the MIT license