PHPackages                             indigophp/fuel-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. indigophp/fuel-gravatar

Abandoned → [gravatarphp/gravatar](/?search=gravatarphp%2Fgravatar)ArchivedFuel-package[Utility &amp; Helpers](/categories/utility)

indigophp/fuel-gravatar
=======================

Gravatar package to return avatar, profile data, QR-code, VCF

v1.0.0(11y ago)483MITPHP

Since Sep 25Pushed 11y ago1 watchersCompare

[ Source](https://github.com/indigophp-archive/fuel-gravatar)[ Packagist](https://packagist.org/packages/indigophp/fuel-gravatar)[ Docs](https://indigophp.com)[ RSS](/packages/indigophp-fuel-gravatar/feed)WikiDiscussions develop Synced yesterday

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

Fuel Gravatar
=============

[](#fuel-gravatar)

[![Latest Stable Version](https://camo.githubusercontent.com/8afe51aa1152724fbd09232e458fe1c88e6a4100a97d11fbe9f65a6f27bed205/68747470733a2f2f706f7365722e707567782e6f72672f696e6469676f7068702f6675656c2d67726176617461722f762f737461626c652e706e67)](https://packagist.org/packages/indigophp/fuel-gravatar)[![Total Downloads](https://camo.githubusercontent.com/f2aef2a3251d32c2d9518684b632ef8a4751a572c8e63d2f46f77cc67d750078/68747470733a2f2f706f7365722e707567782e6f72672f696e6469676f7068702f6675656c2d67726176617461722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/indigophp/fuel-gravatar)[![License](https://camo.githubusercontent.com/29ee95fe1d86487d784558b065e5482e741878b46166ec54d3d4e924bf272165/68747470733a2f2f706f7365722e707567782e6f72672f696e6469676f7068702f6675656c2d67726176617461722f6c6963656e73652e706e67)](https://packagist.org/packages/indigophp/fuel-gravatar)

**Fuel package to get Avatar, Profile data, QR-code and VCF from Gravatar**

Install
-------

[](#install)

Via Composer

```
{
    "require": {
        "indigophp/fuel-gravatar": "@stable"
    }
}
```

Usage
-----

[](#usage)

```
$gravatar = \Gravatar::forge('YOUR@EMAILADDRESS.COM');

// Return plain URL of avatar
$gravatar->avatar();

// Return HTML img tag
$gravatar->avatar(true, array('class' => 'gravatar'));

// Return profile as array
$gravatar->profile();

// Return plain URL of QR code
$gravatar->qr();

// Return HTML img tag
$gravatar->qr(true, array('class' => 'gravatar'));

// Return plain URL of VCF
$gravatar->vcf();

// Return HTML anchor tag
$gravatar->vcf(true, 'Link to VCF', array('class' => 'gravatar'));
```

Configuration
-------------

[](#configuration)

- `protocol` (http | https | **null**): use https or http. Leaving unset or setting to null means `\Input::protocol()` will be used.
- `size` (integer | **null**): Size of avatar (1-2048 px) or QR-code (1-500 px). The default value is 80px.
- `default`: Default picture in case of none found (Values: 404, mm, identicon, monsterid, wavatar, retro, **blank**, URL)
- `force` (true | **false**): Return the default image, even if the user is found
- `rating` ( **G** | PG | R | X): Image rating. See [this](http://hu.gravatar.com/site/implement/images/#rating) link
- `format` ( **xml**, json, php): Format of returned data from server
- `auto` ( **true** | false): Autoformat response
- `callback` (string): Function wrapped around JSON result

Credits
-------

[](#credits)

- [Tamás Barta](https://github.com/TamasBarta)
- [Márk Sági-Kazár](https://github.com/sagikazarmark)
- [All Contributors](https://github.com/indigophp/fuel-gravatar/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/indigophp/fuel-gravatar/blob/develop/LICENSE) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% 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

Every ~132 days

Total

3

Last Release

4348d ago

Major Versions

v0.4.0 → v1.0.02014-06-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e4e105cea62b616d4cb376b08a849b6a428f646998537de150d16a8eb537b90?d=identicon)[mark.sagikazar](/maintainers/mark.sagikazar)

![](https://www.gravatar.com/avatar/1585b5a08e138e348f5b646231d0f16cb2eae06501fb9462bbc97a794d4de84a?d=identicon)[TamasBarta](/maintainers/TamasBarta)

---

Top Contributors

[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (11 commits)")[![TamasBarta](https://avatars.githubusercontent.com/u/1753591?v=4)](https://github.com/TamasBarta "TamasBarta (2 commits)")

---

Tags

profilegravataravatar

### Embed Badge

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

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

###  Alternatives

[laravolt/avatar

Turn name, email, and any other string into initial-based avatar or gravatar.

2.0k5.4M31](/packages/laravolt-avatar)[arcanedev/gravatar

A library providing easy gravatar integration/generation (Laravel supported).

1986.8k](/packages/arcanedev-gravatar)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16625.8k2](/packages/gravatarphp-gravatar)[artdarek/avatarer

Avatarer - Social media avatars for Laravel 5

1015.4k](/packages/artdarek-avatarer)

PHPackages © 2026

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