PHPackages                             getninja/gravatar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. getninja/gravatar

ActiveLibrary[API Development](/categories/api)

getninja/gravatar
=================

A flexible, gravatar API wrapper for Laravel 4.

0.2.0(13y ago)2673[1 issues](https://github.com/GetNinja/Gravatar/issues)Apache 2.0PHPPHP &gt;=5.3.0

Since Jan 22Pushed 10y agoCompare

[ Source](https://github.com/GetNinja/Gravatar)[ Packagist](https://packagist.org/packages/getninja/gravatar)[ Docs](https://github.com/GetNinja/Gravatar)[ RSS](/packages/getninja-gravatar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Gravatar
========

[](#gravatar)

[![Build Status](https://camo.githubusercontent.com/9ee15d2b83f69ef33ebdca6e8b7dd15169d9123f31668c1ef82bab820c4329b8/68747470733a2f2f7472617669732d63692e6f72672f647279686f707065642f47726176617461722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/dryhopped/Gravatar)

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
==========

[](#change-log)

0.2.0
-----

[](#020)

- 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
===========

[](#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();

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4865d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d364a24bddcb0a1e0c0ab31e2f20ffebc5a024bcd2ad7916b0c70bebe7b9d3a8?d=identicon)[dryhopped](/maintainers/dryhopped)

---

Top Contributors

[![kevinkhill](https://avatars.githubusercontent.com/u/266076?v=4)](https://github.com/kevinkhill "kevinkhill (1 commits)")

---

Tags

gravatarApi WrapperPSR-2

### Embed Badge

![Health badge](/badges/getninja-gravatar/health.svg)

```
[![Health](https://phpackages.com/badges/getninja-gravatar/health.svg)](https://phpackages.com/packages/getninja-gravatar)
```

###  Alternatives

[fiveam-code/laravel-notion-api

Laravel Wrapper for the Notion API

435224.4k1](/packages/fiveam-code-laravel-notion-api)[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[marcreichel/igdb-laravel

A Laravel wrapper for version 4 of the IGDB API (Apicalypse) including webhook handling

115146.6k1](/packages/marcreichel-igdb-laravel)[grok-php/laravel

Seamlessly integrate Grok AI into Laravel applications with an elegant, developer-friendly package. Leverage powerful AI models for chat, automation, and NLP while maintaining Laravel's expressive simplicity.

1633.4k](/packages/grok-php-laravel)[otherguy/php-currency-api

A PHP API Wrapper to offer a unified programming interface for popular Currency Rate APIs.

2526.2k](/packages/otherguy-php-currency-api)[pyrrah/gravatar-bundle

The simple way to use Gravatar API for Symfony 6 and Symfony 7

1387.4k](/packages/pyrrah-gravatar-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
