aminelch / gravatar
The easiest way to generate Gravatar avatar URL.
1.1.0
2022-08-07 17:18 UTC
Requires
- php: 7.4 || >=8
- ext-curl: *
Requires (Dev)
This package is auto-updated.
Last update: 2025-02-25 00:17:54 UTC
README
Gravatar is a small library for interfacing with gravatar
Installation
The recommended way to install is via Composer:
$ composer require aminelch/gravatar
Usage
$gravatar = new Gravatar("aminelch@pm.me");
$gravatar->setExtension('jpg') //setting image extension
->setSize(120) //setting maximum image size
->getAvatarURL() ; //use this method to get complete gravatar path
LICENSE
GPL-3 see LICENSE
Security Vulnerabilities
If you have found a security issue, please contact the author directly at aminelch@pm.me Or alternatively you can create a new issue