2017 © Pedro Peláez
 

library laravel-identicon

Identicon wrapper for Laravel

image

rdpascua/laravel-identicon

Identicon wrapper for Laravel

  • Wednesday, June 28, 2017
  • by rdpascua
  • Repository
  • 2 Watchers
  • 4 Stars
  • 92 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Identicon Wrapper for Laravel

Generate awesome avatar placeholders using identicon., (*1)

Installation

composer require rdpascua/laravel-identicon

Add this to your service provider, (*2)

Rdpascua\Identicon\IdenticonServiceProvider::class,

And add this to your facades, (*3)

'aliases' => [
    'Identicon' => Rdpascua\Identicon\Facades\Identicon::class,
]

Usage

Identicon::getImageDataUri($string, $size = 64, $color = null)

Returns a base64 image., (*4)


<img src="{{ Identicon::getImageDataUri('baz') }}">


<img src="{{ Identicon::getImageDataUri('foo', 256, 'B4D455') }}">

Identicon::image($string, $size = 64, $color = null)

Returns a base64 image wrapped in <img> tag., (*5)

<!-- Show image -->
{{ Identicon::image('baz') }}

Identicon::getImageData($string, $size = 64, $color = null)

Identicon::displayImage($string, $size = 64, $color = null)

Credits

  • https://github.com/yzalis/Identicon

License

This wrapper is licensed under the MIT license, (*6)

The Versions

28/06 2017

dev-master

9999999-dev

Identicon wrapper for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ricardo Pascua Jr

laravel avatar identicon

28/06 2017

1.0.0

1.0.0.0

Identicon wrapper for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ricardo Pascua Jr

laravel avatar identicon