PHPackages                             shamarkellman/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. shamarkellman/gravatar

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shamarkellman/gravatar
======================

gravatar

v1.0.1(5y ago)08MITPHPPHP ^7.4|^8.0

Since Feb 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ShamarKellman/gravatar)[ Packagist](https://packagist.org/packages/shamarkellman/gravatar)[ Docs](https://github.com/shamarkellman/gravatar)[ GitHub Sponsors](https://github.com/shamarkellman)[ RSS](/packages/shamarkellman-gravatar/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

gravatar
========

[](#gravatar)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e7fe1deaae725216cce8aa6664a4c02252580586ccc13e31ad8e8ee3ae0a2284/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7368616d61726b656c6c6d616e2f67726176617461722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shamarkellman/gravatar)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4ee5d238ae1da18a662267fc9ffda0f03ec326a9a29aa057e6a84760ea298bb6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7368616d61726b656c6c6d616e2f67726176617461722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/shamarkellman/gravatar/actions?query=workflow%3ATests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/0b65e3ca67ebba1037f447c28f435d32548be943767dc76a0c099e09be57406b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7368616d61726b656c6c6d616e2f67726176617461722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shamarkellman/gravatar)

This package is used to generate a gravatar url for Laravel 8 applications.

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

[](#installation)

You can install the package via composer:

```
composer require shamarkellman/gravatar
```

You can publish and run the migrations with:

You can publish the config file with:

```
php artisan vendor:publish --provider="ShamarKellman\Gravatar\GravatarServiceProvider" --tag="gravatar-config"
```

This is the contents of the published config file:

```
return [
    'size' => 80,
    'max_rating' => 'g',
    'default_image' => 'mp',
    'always_force_default_image' => false,
];
```

Usage
-----

[](#usage)

```
$gravatar = new ShamarKellman\Gravatar();
echo $gravatar->buildGravatarURL();
```

or use the Facade

```
use ShamarKellman\Gravatar\Facades\Gravatar;

Gravatar::buildGravatarURL();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Shamar Kellman](https://github.com/ShamarKellman)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

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

Unknown

Total

1

Last Release

1913d ago

### Community

Maintainers

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

---

Top Contributors

[![ShamarKellman](https://avatars.githubusercontent.com/u/4120411?v=4)](https://github.com/ShamarKellman "ShamarKellman (6 commits)")

---

Tags

gravatarshamarkellman

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M307](/packages/psalm-plugin-laravel)[laravolt/avatar

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

2.0k5.4M31](/packages/laravolt-avatar)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M210](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M856](/packages/illuminate-pagination)[illuminate/broadcasting

The Illuminate Broadcasting package.

7126.5M177](/packages/illuminate-broadcasting)

PHPackages © 2026

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