Skip to content

Voziv/Gravatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gravatar

Latest Stable Version Total Downloads Latest Unstable Version License

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:

About

A library to make working with Gravatar in PHP easy.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages