irazasyed/laravel-identicon
最新稳定版本:v2.1
Composer 安装命令:
composer require irazasyed/laravel-identicon
包简介
Laravel Identicon Package
README 文档
README
Laravel Identicon Package - Extends Identicon Library and Adds Support for Seamless Usage with Laravel.
Quick start
Installation
$ composer require irazasyed/laravel-identicon
Usage
This Package adds Laravel Support to Identicon PHP Library. It simply extends the library as well as optimized for usage with Laravel. So all the methods listed here are available and will work seamlessly.
Example Methods
Generate and Display an identicon image:
Identicon::displayImage('foo');
Generate and get the image data
$imageData = Identicon::getImageData('bar');
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('bar') }}" alt="bar Identicon" />
...
And all the other remaining methods from the main library.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email syed at lukonet.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 29.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 23
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-09-07