GetNinja / Gravatar by dryhopped

A flexible, gravatar API wrapper for Laravel 4.
66
2
0
Package Data
Maintainer Username: dryhopped
Maintainer Contact: luke@monkeywrench.cc (Luke Scalf)
Package Create Date: 2012-12-24
Package Last Update: 2015-10-02
Home Page:
Language: PHP
License: Apache 2.0
Last Refreshed: 2024-11-19 03:02:02
Package Statistics
Total Downloads: 66
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 2
Total Watchers: 0
Total Forks: 3
Total Open Issues: 1

Gravatar

Build Status

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();