rdpascua/laravel-identicon is a Laravel package for identicon wrapper for laravel.
It currently has 3 GitHub stars and 115 downloads on Packagist (latest version 1.0.0).
Install it with composer require rdpascua/laravel-identicon.
Discover more Laravel packages by rdpascua
or browse all Laravel packages to compare alternatives.
Last updated
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