Huevatar
Fetch a predefined identifier based on the provided email., (*1)
Installation
To install this package you will need:, (*2)
You must then modify your composer.json file and run composer update to include the latest version of the package in your project., (*3)
"require": {
"kevindierkx/huevatar": "0.1.*"
}
Or you can run the composer require command from your terminal., (*4)
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., (*5)
'providers' => [
'Kevindierkx\Huevatar\HuevatarServiceProvider'
]
Optionaly you can add the following line to your aliases., (*6)
'aliases' => [
'Huevatar' => 'Kevindierkx\Huevatar\Huevatar',
]
Configuration
Run the following command to publish the package configuration., (*7)
php artisan config:publish kevindierkx/huevatar
Usage
To fetch an identifier., (*8)
Huevatar::getColor('email@example.com');
Credits
License
The MIT License (MIT). Please see License File for more information., (*9)