Gravatar class that inserts Nicolas Cage into default avatars.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
composer.json

README.md

Gravacage

Gravatar class that uses Nicolas Cage images as default avatars. Same Cage for same email forever!

Images are grabbed from gravacage.urmaul.com.

use urmaul\gravacage\Gravacage;

// Get gravatar image url
Gravacage::forEmail('test@test.com')->imageUrl(100);

// Get Nicolas image url
Gravacage::forEmail('test@test.com')->nicolasUrl(100);

Installing via Composer

The recommended way to install Gravacage is through Composer.

# Install Composer
curl -sS https://getcomposer.org/installer | php

Next, run the Composer command to install the latest stable version of Gravacage:

composer.phar require urmaul/gravacage

After installing, you need to require Composer's autoloader:

require 'vendor/autoload.php';