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

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

awcodes/filament-gravatar
=========================

Replace Filament's default avatar url provider with one for Gravatar.

v4.1.0(4w ago)32219.4k↓38.7%53MITPHPPHP ^8.2CI passing

Since Jul 11Pushed 4w ago1 watchersCompare

[ Source](https://github.com/awcodes/filament-gravatar)[ Packagist](https://packagist.org/packages/awcodes/filament-gravatar)[ GitHub Sponsors](https://github.com/awcodes)[ RSS](/packages/awcodes-filament-gravatar/feed)WikiDiscussions 4.x Synced 2w ago

READMEChangelog (10)Dependencies (20)Versions (16)Used By (3)

Filament Gravatar
=================

[](#filament-gravatar)

Replace Filament's default avatar url provider with one for Gravatar.

[![Latest Version](https://camo.githubusercontent.com/fd17c962675a18800d68e27edd2ce157895da19031fa23e3f32fedc969a41f67/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6177636f6465732f66696c616d656e742d67726176617461722e7376673f7374796c653d666c61742d73717561726526636f6c6f723d626c7565266c6162656c3d52656c65617365)](https://github.com/awcodes/filament-gravatar/releases)[![MIT Licensed](https://camo.githubusercontent.com/a7e65aee57b11d28e4caff8b945729a66be0bb663f7f93bd24c5aa65699f148e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/6cb49ab37cc3b62f74bae4728b04f7a7923f4184dd73c260ea1d55c89e3c681e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6177636f6465732f66696c616d656e742d67726176617461722e7376673f7374796c653d666c61742d73717561726526636f6c6f723d626c7565266c6162656c3d446f776e6c6f616473)](https://packagist.org/packages/awcodes/filament-gravatar)[![GitHub Repo stars](https://camo.githubusercontent.com/bfab442d6ce4999dc354e785738027ee657cf85c930290696ccb2cfab35cfc50/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6177636f6465732f66696c616d656e742d67726176617461723f7374796c653d666c61742d73717561726526636f6c6f723d626c7565266c6162656c3d5374617273)](https://github.com/awcodes/filament-gravatar/stargazers)

Compatibility
-------------

[](#compatibility)

Package VersionFilament Version1.x2.x2.x3.x3.x4.x4.x4.x &amp; 5.xInstallation
------------

[](#installation)

First, install the plugin with composer.

```
composer require awcodes/filament-gravatar
```

Next, add the `GravatarProvider` to your panel.

```
use Awcodes\Gravatar\GravatarProvider;
use Awcodes\Gravatar\GravatarPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->defaultAvatarProvider(GravatarProvider::class)
        ->plugins([
            GravatarPlugin::make(),
        ])
}
```

Global Defaults
---------------

[](#global-defaults)

You can modify the global defaults by using the following methods on the `GravatarPlugin`.

```
use Awcodes\Gravatar\GravatarPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            GravatarPlugin::make()
                ->default('robohash')
                ->size(200)
                ->rating('pg'),
        ])
}
```

Additional Info
---------------

[](#additional-info)

You can also use the `Awcodes\Gravatar\Gravatar` class by itself should you need to outside a panel.

```
Awcodes\Gravatar\Gravatar::get(
    string $email = null,
    int $size = 80,
    string $default = 'mp',
    string $rating = 'g',
    bool $asImage = false,
    array $attributes = []
);
```

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)

- [awcodes](https://github.com/awcodes)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance94

Actively maintained with recent releases

Popularity45

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~105 days

Recently: every ~86 days

Total

15

Last Release

28d ago

Major Versions

1.x-dev → v2.0.0-alpha12023-07-05

2.x-dev → v3.0.0-beta.12025-06-12

v3.0.0 → v4.0.02026-01-19

3.x-dev → v4.1.02026-07-21

PHP version history (3 changes)v1.0.0PHP ^8.0.2

v2.0.0-alpha1PHP ^8.1

v3.0.0-beta.1PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3596800?v=4)[Adam Weston](/maintainers/awcodes)[@awcodes](https://github.com/awcodes)

---

Top Contributors

[![awcodes](https://avatars.githubusercontent.com/u/3596800?v=4)](https://github.com/awcodes "awcodes (39 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")[![chrillep](https://avatars.githubusercontent.com/u/1267931?v=4)](https://github.com/chrillep "chrillep (1 commits)")[![rafaucau](https://avatars.githubusercontent.com/u/25438601?v=4)](https://github.com/rafaucau "rafaucau (1 commits)")

---

Tags

filamentfilament-pluginpluginlaravelgravatarfilamentawcodes

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[awcodes/filament-curator

A media picker plugin for FilamentPHP.

440384.7k28](/packages/awcodes-filament-curator)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3915.5k](/packages/rawilk-profile-filament-plugin)[backstage/mails

View logged mails and events in a beautiful Filament UI.

16429.7k](/packages/backstage-mails)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

85240.3k9](/packages/stephenjude-filament-two-factor-authentication)[awcodes/filament-badgeable-column

Filament Tables column to append and prepend badges.

146581.0k27](/packages/awcodes-filament-badgeable-column)[awcodes/recently

Easily track and access recently viewed records in your filament panels.

4341.0k](/packages/awcodes-recently)

PHPackages © 2026

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