PHPackages                             thomaswelton/gravatarlib - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. thomaswelton/gravatarlib

ActiveLibrary[Templating &amp; Views](/categories/templating)

thomaswelton/gravatarlib
========================

A lightweight PHP 5.3 OOP library providing easy gravatar integration.

0.1.1(1y ago)251.1M—8.2%5[1 PRs](https://github.com/thomaswelton/gravatarlib/pulls)5MITPHPPHP &gt;=5.3.0

Since Mar 2Pushed 1y ago3 watchersCompare

[ Source](https://github.com/thomaswelton/gravatarlib)[ Packagist](https://packagist.org/packages/thomaswelton/gravatarlib)[ RSS](/packages/thomaswelton-gravatarlib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (5)

GravatarLib
===========

[](#gravatarlib)

GravatarLib is a small library intended to provide easy integration of gravatar-provided avatars.

copyright
---------

[](#copyright)

(c) 2011 emberlabs.org

license
-------

[](#license)

This library is licensed under the MIT license; you can find a full copy of the license itself in the file /LICENSE

requirements
------------

[](#requirements)

- PHP 5.3.0 or newer
- hash() function must be available, along with the md5 algorithm

usage
-----

[](#usage)

We'll assume you're using this git repository as a git submodule, and have it located at `includes/emberlabs/GravatarLib/` according to namespacing rules, for easy autoloading.

### general example

[](#general-example)

```
