getninja / gravatar
A flexible, gravatar API wrapper for Laravel 4.
0.2.0
2013-01-22 05:14 UTC
Requires
- php: >=5.3.0
- ext-curl: *
- illuminate/support: 1.1.*
- kriswallsmith/buzz: >=0.7
Requires (Dev)
- mockery/mockery: 0.7.2
This package is not auto-updated.
Last update: 2024-11-09 14:40:18 UTC
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/buzz
http 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();