tomshaw/laravel-gravatar
Zero-config Laravel package that adds a Blade @gravatar directive with named parameters. Generate Gravatar URLs from an email with options for size, default image style, and rating—perfect for quickly rendering user avatars in your views.
retro or identicon) across all user interactions, ensuring alignment with brand guidelines without manual intervention.wavatar vs. robohash) without refactoring existing templates, supporting data-driven product decisions.Adopt When:
Look Elsewhere When:
For Executives:
"This package lets us add user avatars to profiles, comments, or forums in hours—not weeks—by leveraging Gravatar’s existing infrastructure. It’s a zero-config Blade directive that handles all the technical heavy lifting (URL generation, fallbacks, ratings) so our team can focus on core features. For example, we can roll out consistent avatars across the app with a single line of code like @gravatar(email: '[email protected]', size: 60), reducing developer time and ensuring visual consistency with our brand. It’s a low-risk, high-reward way to enhance user personalization and engagement without building custom infrastructure."
For Engineers: *"This is a lightweight, zero-config Laravel package that replaces manual Gravatar URL construction with a clean Blade directive. Key benefits:
composer require tomshaw/laravel-gravatar and use @gravatar() in Blade.@gravatar(email: $user->email, default: 'retro') instead of manual query strings.How can I help you explore Laravel packages today?