Description
A Laravel Gravatar package for retrieving gravatar image URLs or checking the existance of an image
Within your controllers or views, you can use
This will return the URL to the gravatar image of the specified email address.
In case of a non-existing gravatar, it will return return a URL to a placeholder image. You can set the type of the placeholder in the configuration option fallback.
Alternatively, you can check for the existence of a gravatar image by using
This will return a boolean (true or false).
Or you can pass a url to a custom image using the fallback method:
Recent Courses on Laravel Daily
Laravel 13 Starter Kit Teams and Customizations
10 lessons
33 min
Roles and Permissions in Laravel 13
14 lessons
57 min
Laravel 13 Eloquent: Expert Level
41 lessons
1 h 34 min