philetaylor/gravatar-bundle
A Symfony bundle for integrating Gravatar avatars into your application. It provides Twig helpers to generate Gravatar URLs with configurable size, rating, and default image settings, making it easy to display consistent user profile images across your site. Simple installation and configuration.
Ornicar\GravatarBundle, formerly published under philetaylor/gravatar-bundle), not a Laravel package. Its value is Symfony DI configuration plus a template helper; Laravel uses service providers, facades, and Blade. The release notes confirm the package is tracking Symfony internals (7.1 deprecation of HttpKernel\DependencyInjection\Extension), so its design center remains Symfony, not Laravel. The underlying capability—constructing Gravatar URLs from an email hash and display options—remains small and does not justify a framework-specific dependency in Laravel.AvatarProvider interface; otherwise, reimplementing the URL builder is lower risk. The release note is purely internal (DI extension base class), so it does not materially change the coupling story.Ornicar\GravatarBundle) and prior Symfony 4-origin description mean the exact supported PHP/Symfony ranges still need verification against a modern Laravel/PHP stack. Product risk (small footprint, low dependents) and privacy/CSP concerns (MD5 email hash exposed to the browser) are unchanged.philetaylor/gravatar-bundle vs ornicar/gravatar-bundle), and did the rename break Composer metadata or autoloading? Are size, rating, default image, and force-default options still configurable? Is there test coverage? Is the Twig helper optional or tightly coupled? What is the maintenance/support model? For Laravel, why not implement a small internal Gravatar URL service and Blade component instead?AvatarProvider contract and a GravatarAvatarProvider implementation. If the package is retained, wrap its URL-building service behind that contract; if not, implement the small URL-generation logic internally. Replace scattered md5($email)/Gravatar URL calls with the provider, then expose it through a Blade component or helper. Do not import the Symfony DI extension into Laravel.Ornicar\GravatarBundle rename. Confirm whether the Twig helper is required (irrelevant for Blade). Verify Gravatar parameters such as s, r, d, and f, HTTPS behavior, and fallback image handling. Add tests for hashing, URL encoding, default avatar behavior, and missing/invalid email cases.gravatar.com; availability, latency, and content policy are outside the application’s control. Use local fallback avatars and avoid treating Gravatar as a critical-path service.philetaylor/gravatar-bundle to Ornicar\GravatarBundle can break Composer constraints, autoload paths, or DI extension references on upgrade; Symfony DI internals remain a moving target across major versions; configuration drift can produce inconsistent avatar sizes/ratings. Mitigate with fallbacks, explicit config, tests, pinned versions, and a documented disable switch.How can I help you explore Laravel packages today?