ielijose / laravel-identicon
此包最新版本(dev-master)没有可用的许可证信息。
dev-master
2014-09-11 15:15 UTC
Requires
- php: >=5.4.0
- illuminate/support: 4.2.x
- yzalis/identicon: 1.0.*@dev
This package is not auto-updated.
Last update: 2024-09-24 07:33:11 UTC
README
将以下内容添加到您的 composer.json
文件中并更新您的 composer。
将其添加到您的服务提供者在 app/config/app.php
文件中
'Rdpascua\Identicon\IdenticonServiceProvider',
并将其添加到您的外观
'Identicon' => 'Rdpascua\Identicon\Facade',
用法
//Displays and generates an image
Identicon::displayImage('foo');
//get the image data
Identicon::getImageData('bar');
//base64 image
Identicon::getImageDataUri('baz');
//You can also adjust the size of the identicon and color
Identicon::displayImage('foo', 256, 'B4D455');
致谢
许可证
此封装器遵循 MIT 许可证