urmaul/gravacage

This package is abandoned and no longer maintained. No replacement package was suggested.

Gravatar class that inserts Nicolas Cage into default avatars.

1.0.0 2015-04-01 12:44 UTC

This package is not auto-updated.

Last update: 2021-01-18 08:53:18 UTC


README

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';