| Package Data | |
|---|---|
| Maintainer Username: | rdpascua |
| Maintainer Contact: | rdpascua@outlook.com (Ricardo Pascua Jr) |
| Package Create Date: | 2014-04-07 |
| Package Last Update: | 2017-06-28 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-18 15:04:17 |
| Package Statistics | |
|---|---|
| Total Downloads: | 115 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 3 |
| Total Watchers: | 2 |
| Total Forks: | 3 |
| Total Open Issues: | 0 |
Generate awesome avatar placeholders using identicon.
composer require rdpascua/laravel-identicon
Add this to your service provider
Rdpascua\Identicon\IdenticonServiceProvider::class,
And add this to your facades
'aliases' => [
'Identicon' => Rdpascua\Identicon\Facades\Identicon::class,
]
Returns a base64 image.
<!-- Base64 URI image -->
<img src="{{ Identicon::getImageDataUri('baz') }}">
<!-- Explicitly specify the size and color -->
<img src="{{ Identicon::getImageDataUri('foo', 256, 'B4D455') }}">
Returns a base64 image wrapped in <img> tag.
<!-- Show image -->
{{ Identicon::image('baz') }}
This wrapper is licensed under the MIT license