aminelch/gravatar

The easiest way to generate Gravatar avatar URL.

1.1.0 2022-08-07 17:18 UTC

This package is auto-updated.

Last update: 2024-09-24 23:31:25 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