PHPackages                             jejje/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. [Image &amp; Media](/categories/media)
4. /
5. jejje/gravatar

ActiveLibrary[Image &amp; Media](/categories/media)

jejje/gravatar
==============

A very simple package to get a Gravatar image or Profile. Made for education purposes for http://jejje.net

1.0.0(10y ago)019MITPHPPHP &gt;=5.5.0

Since Jul 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/jejje/gravatar)[ Packagist](https://packagist.org/packages/jejje/gravatar)[ Docs](http://jejje.net/php/laravel-5-gravatar-package/)[ RSS](/packages/jejje-gravatar/feed)WikiDiscussions master Synced 1mo ago

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

Gravatar
========

[](#gravatar)

[![Build Status](https://camo.githubusercontent.com/42880b188130e666cd6f474d0673e365e9d93b767139eb2fc40047f9b9e2e5c7/68747470733a2f2f7472617669732d63692e6f72672f6a656a6a652f67726176617461722e737667)](https://travis-ci.org/jejje/gravatar)[![Total Downloads](https://camo.githubusercontent.com/3e7d42df00dec35ee484835da572f502d4b5000c55a3e6fa95309562688723fa/68747470733a2f2f706f7365722e707567782e6f72672f6a656a6a652f67726176617461722f642f746f74616c2e737667)](https://packagist.org/packages/jejje/gravatar)[![Latest Stable Version](https://camo.githubusercontent.com/5145682a73fee23b40c4d2e03014a98b290871cb2c7fc9ece2b4686bcad5af1f/68747470733a2f2f706f7365722e707567782e6f72672f6a656a6a652f67726176617461722f762f737461626c652e737667)](https://packagist.org/packages/jejje/gravatar)[![Latest Unstable Version](https://camo.githubusercontent.com/7ee80258967a98ba09504a56f591650fff054b8baa18abe731a06baa0bc8ced8/68747470733a2f2f706f7365722e707567782e6f72672f6a656a6a652f67726176617461722f762f756e737461626c652e737667)](https://packagist.org/packages/jejje/gravatar)[![License](https://camo.githubusercontent.com/2c67dda68a72cd94d4ce24683a35de890e742f5c017d86481c5329e5960f6f44/68747470733a2f2f706f7365722e707567782e6f72672f6a656a6a652f67726176617461722f6c6963656e73652e737667)](https://packagist.org/packages/jejje/gravatar)

This package is part of a simple tutorial from [JejjE's network](http://jejje.net "JejjE's network") and and will give you a few simple methods you can call to get a users Gravatar image. [Read the Tutorial here](http://jejje.net/create-your-own-laravel-5-package-part-1/)

Installation
------------

[](#installation)

First you'll need to pull in the package via composer

```
"require": {
    "jejje/gravatar": "dev-master"
}
```

And in your `app/config/app.php` you'll need to add the Service Provider.

```
'providers' => [
    'Jejje\Gravatar\GravatarServiceProvider::class'
];
```

Usage
-----

[](#usage)

You can use it either within your Controller or your View like so.

```
public function index() {
    $email = 'jejje@jejje.net';
    $size = 100; // Optional, you may set a default in the config file
    Gravatar::getImageWithLinkToProfile($email, $size);
}
```

Other methods that are for your disposal are

- `Gravatar::getProfileUrl($email)`
- `Gravatar::getImageUrl($email, $size)`
- `Gravatar::getHash($email)`

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~0 days

Total

2

Last Release

3963d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/90a1c20208fc77b8485233811cffe14f45faebce09585e5cb94ca37c9de93c4c?d=identicon)[JejjE](/maintainers/JejjE)

---

Top Contributors

[![jejje](https://avatars.githubusercontent.com/u/2861652?v=4)](https://github.com/jejje "jejje (11 commits)")

### Embed Badge

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

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

###  Alternatives

[creativeorange/gravatar

A Laravel Gravatar package for retrieving gravatar image URLs or checking the existance of an image.

5467.5M54](/packages/creativeorange-gravatar)[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[ralphjsmit/laravel-glide

Auto-magically generate responsive images from static image files.

4719.6k5](/packages/ralphjsmit-laravel-glide)[spatie/laravel-og-image

Generate OG images for your Laravel app

305.2k](/packages/spatie-laravel-og-image)[nikkanetiya/laravel-color-palette

Laravel Wrapper for `ksubileau/color-thief-php`. Grabs the dominant color or a representative color palette from an image. Uses PHP and GD or Imagick.

3312.6k](/packages/nikkanetiya-laravel-color-palette)

PHPackages © 2026

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