getninja/gravatar
最新稳定版本:0.2.0
Composer 安装命令:
composer require getninja/gravatar
包简介
A flexible, gravatar API wrapper for Laravel 4.
README 文档
README
Gravatar is a simple library for interacting with the Gravatar apis for fetching Avatar Images and Profile Data.
Gravatar is released under the Apache 2.0 License and is Copyrighted 2013 Luke Scalf.
Change Log
0.2.0
- Added dependency on
kriswallsmith/buzzhttp client for fetching profile data - Added support for fetching gravatar profile data in hcard, qr, vcf, json, php array, and xml formats
- Moved hashing of email addresses into separate function since the email is hashed in several places
- All Code is now PSR-2
Basic Usage
Gravatar is a Composer package named getninja/gravatar. To use it, simply add it to the require section of your composer.json file.
{
"require": {
"getninja/gravatar": "0.2.*"
}
}
After adding Gravatar to your composer.json file, simply use the class as normal.
$gravatar = new GetNinja\Gravatar\Gravatar();
统计信息
- 总下载量: 67
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache
- 更新时间: 2012-12-24