PHP Classes
elePHPant
Icontem

Gravatar PHP: Get the URL, image and profile of a Gravatar user

Recommend this page to a friend!
  Info   View files Example   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-09-26 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 77 All time: 8,544 This week: 1,089Up
Version License PHP version Categories
gravatar-php 0.1.0MIT/X Consortium ...3.0PHP 5, User Management, Web services
Description Author

This class can get the URL, image and profile of a Gravatar user.

It can take the email address of a given gravatar user and it can generate the URL of his avatar image either in PNG or JPEG formats.

The class can also generate HTML to show the avatar in a Web page.

It can also send HTTP requests to retrieve the user profile public information in several formats: PHP, JSON, XML, VCF and QRCode.

Picture of Ravi Kumar
  Performance   Level  
Name: Ravi Kumar <contact>
Classes: 6 packages by
Country: India India
Innovation award
Innovation award
Nominee: 2x

Details

Gravatar

Author Source Code Latest Version Software License Build Status Code Coverage Quality Total Downloads

Gravatar url, image and profile data

A small library intended to provide easy integration of... Gravatar :)

It will help you generate the URL for Gravatar images and also provide img tag as well as user profile data in json, xml, php, vcf or qr format.

Highlights

Thanks! :sparkling_heart:

  Files folder image Files  
File Role Description
Files folder imagesrc (2 files, 1 directory)
Files folder imagetests (1 file)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageException (4 files)
  Plain text file Exception.php Class Class source
  Plain text file Gravatar.php Class Class source

  Files folder image Files  /  src  /  Exception  
File Role Description
  Plain text file EmailRequiredException.php Class Class source
  Plain text file InvalidArgumentsException.php Class Class source
  Plain text file InvalidEmailException.php Class Class source
  Plain text file InvalidFormatException.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Plain text file GravatarTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:77
This week:0
All time:8,544
This week:1,089Up