This is a simple PHP library that will get avatars from avatars.adorable.io.
Install via Composer
composer require vhin0210/avatars.adorable.io-php
How to use
// Create the instance
$avatars_adorable_io = new \AvatarsAdorableIOPHP\AvatarsAdorableIO();
// Get the auto generated image base on your input with specific size.
$image = $avatars_adorable_io->getAutoGenerated(100, 'vhin0210');
// Get avatar face by specific features
$image = $avatars_adorable_io->getAvatarFace('eyes1', 'nose2', 'mouth3', 'ff0000'); // red color
// Get possible features values
$features = $avatars_adorable_io->getAvatarFeaturesList();