ornicar/gravatar-bundle
A lightweight Symfony bundle for integrating Gravatar avatars. It provides a Twig helper and service to generate Gravatar URLs with configurable size, rating, and default image settings, making it easy to add user profile avatars to your templates and services.
What this actually is: Despite the "Laravel/PHP package" framing, ornicar/gravatar-bundle (repo: henrikbjorn/GravatarBundle) is a Symfony bundle, not a Laravel package. It exposes a small service + Twig extension that hashes an email (md5(strtolower(trim($email)))) and assembles a Gravatar URL with configurable size, rating, and default-image parameters. That distinction is the single most important technical fact in this evaluation.
config/bundles.php or AppKernel registration, service container tagging, Twig extension registration). Laravel's service-provider/Blade model does not map onto this without a rewrite. For a Symfony 2/3/4-era app it fits cleanly, but that's a narrow audience in 2024+.d= fallback is chosen.gravatar.com with an MD5 of the user's email. That's the standard Gravatar model but must be documented and ideally proxied/cached.AvatarService bound via a ServiceProvider with a gravatar() Blade directive — no third-party dependency needed.AvatarProvider interface.AppKernel, and whether md5 hashing is acceptable given the privacy posture.d=identicon or initials) — 1–2 days.onerror/d= fallback so missing avatars don't produce broken images.d=identicon|mp|retro|404 is chosen deliberately.TPM recommendation: Do not adopt this package. Reimplement the ~50 lines internally behind an avatar-provider abstraction, add caching and a non-Gravatar fallback, and document the privacy posture. The package offers convenience for a legacy Symfony stack and nothing measurable for a Laravel or modern stack — and its archived status makes every future upgrade a self-funded effort.
How can I help you explore Laravel packages today?