Fetch a predefined identifier based on the provided email.
To install this package you will need:
- Laravel 4.2+
- PHP 5.4
You must then modify your composer.json file and run composer update to include the latest version of the package in your project.
"require": {
"kevindierkx/huevatar": "0.1.*"
}
Or you can run the composer require command from your terminal.
composer require kevindierkx/huevatar:0.1.*
Once the package is installed you need to open app/config/app.php
and register the required service provider.
'providers' => [
'Kevindierkx\Huevatar\HuevatarServiceProvider'
]
Optionaly you can add the following line to your aliases.
'aliases' => [
'Huevatar' => 'Kevindierkx\Huevatar\Huevatar',
]
Run the following command to publish the package configuration.
php artisan config:publish kevindierkx/huevatar
To fetch an identifier.
Huevatar::getColor('[email protected]');
The MIT License (MIT). Please see License File for more information.