Skip to content

baraja-core/gravatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gravatar API

The goal of this package is to provide a simple object-oriented interface for working with Gravatar.

Simply call the method with the user's email and get back an object that describes all the data we can get about the user.

It is relatively easy to use:

$gravatar = new Gravatar;

// Get icon URL - default icon size
$gravatar->getIcon('jan@barasek.com');

// small icon size
$gravatar->getIcon('jan@barasek.com', 32);

// big icon size
$gravatar->getIcon('jan@barasek.com', 255);

// Get user full info as GravatarResponse
$gravatar->getUserInfo('jan@barasek.com');

About

Simple PHP API provider for getting user Gravatar and user description.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

2 watching

Forks

Packages

 
 
 

Contributors

Languages

Generated from baraja-core/template