Class Client
PHP library for gravatar.com.
Namespace: EmanueleMinotto\Gravatar
Author: Emanuele Minotto minottoemanuele@gmail.com
Link: http://www.gravatar.com/
Located at Client.php
Author: Emanuele Minotto minottoemanuele@gmail.com
Link: http://www.gravatar.com/
Located at Client.php
public
|
#
__construct( GuzzleHttp\ClientInterface $httpClient = null )
Class constructor, with an alternative Guzzle HTTP client (optional). |
public
|
|
public
GuzzleHttp\ClientInterface
|
|
public
string
|
#
getProfileUrl( string $email, string $format = 'json', array $options = [] )
Get user profile on gravatar.com. |
public
array
|
|
public
string
|
#
getAvatarUrl( string $email, integer $size = 80, string $extension = 'jpg', integer $default = 404, string $rating = 'g' )
Get user avatar image URL. |
public
string
|
#
getAvatar( string $email, integer $size = 80, string $extension = 'jpg', integer $default = 404, string $rating = 'g' )
Get user avatar image (as base 64 URI). |
public
boolean
|