urmaul / gravacage
Gravatar class that inserts Nicolas Cage into default avatars.
Installs: 55
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/urmaul/gravacage
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';