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: | 2024-11-11 15:08:34 |
Package Statistics | |
---|---|
Total Downloads: | 231 |
Monthly Downloads: | 2 |
Daily Downloads: | 2 |
Total Stars: | 0 |
Total Watchers: | 2 |
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.