PHPackages                             emberlabs/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. emberlabs/gravatarlib

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

emberlabs/gravatarlib
=====================

A lightweight PHP 5.3 OOP library providing easy gravatar integration.

10023.5k30[9 PRs](https://github.com/emberlabs/gravatarlib/pulls)PHP

Since Dec 28Pushed 3y ago11 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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)

```
