Looking to hire Laravel developers? Try LaraJobs

laravel-identicon maintained by ncoderslab

Description
Laravel Identicon Package
Author
Last update
2022/07/03 16:16 (dev-main)
License
Downloads
49

Comments
comments powered by Disqus

Laravel-Identicon Package

Laravel Package Latest Version on Packagist Software License Total Downloads

This is the wraper package of Identicon Package for laravel projects.

Installation

$ composer require ncoderslab/laravel-identicon

Usage

This is the wrapper package of Identicon for laravel projects. All features available in Identicon are avialable in this package as well

Example Methods

Generate and Display an identicon image:

Identicon::displayImage('nCoders Lab');

Generate and get the image data

$imageData = Identicon::getImageData('nCoders Lab');

Generate and get the base 64 image uri ready for integrate into an HTML img tag. The below example is using blade templating

<img src="{{ Identicon::getImageDataUri('nCoders Lab') }}" alt="nCoders Lab Identicon" />

...

And all the other remaining methods from the main library.

License

The MIT License (MIT). Please see License File for more information.