Skip to content
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.

urmaul/gravacage

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

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

About

Gravatar class that inserts Nicolas Cage into default avatars.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages