GetNinja / Gravatar by dryhopped

A flexible, gravatar API wrapper for Laravel 4.
67
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-12-26 15:01:43
Package Statistics
Total Downloads: 67
Monthly Downloads: 0
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();