lrobert / gravatar
A library to make working with Gravatar in PHP easy.
Installs: 1 386
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 0
Forks: 1
pkg:composer/lrobert/gravatar
Requires
- php: >=5.3.0
Requires (Dev)
- php: >=5.3.0
This package is auto-updated.
Last update: 2025-11-16 12:05:54 UTC
README
A library to make working with Gravatar in PHP easy.
Requirements
lrobert\Gravatar requires the following:
- PHP 5.3+
Installation
It is recommended that you install the lrobert\Gravatar library through composer. To do so, add
the following lines to your composer.json.
{
"require": {
"lrobert/Gravatar": "dev-master"
}
}
Usages
The following is a basic example of the lrobert\Gravatar library.
<?php require_once('vendor/autoload.php'); $gravatar = new \lrobert\Gravatar\Gravatar(); ?> <img src="<?= $gravatar->getUrl('fake@example.com') ?>" alt="Example Avatar">
Contributing
We welcome everyone to contribute to lrobert\Gravatar. Below are some of the things that you can do to contribute:
- Read our contributing guide
- Fork us and request a pull to the develop branch
- Submit bug reports or feature requests on GitHub