| Package Data | |
|---|---|
| Maintainer Username: | PrivateSniper |
| Package Create Date: | 2015-08-18 |
| Package Last Update: | 2016-08-25 |
| Language: | PHP |
| License: | GPL-3.0 |
| Last Refreshed: | 2025-10-30 03:08:26 |
| Package Statistics | |
|---|---|
| Total Downloads: | 235 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
A simple gravatar class.
require {
"taskforcedev/gravatar": "1.0.*",
}
composer update
Using the class is as very straightforward.
Example
use Taskforcedev\Gravatar;
$gravatar = new Gravatar();
$avatar = $gravatar->getAvatar($user, $options);
$user can be any of the following:
$options is optional
If for any reason the class fails to retrieve a gravatar false will be returned.