vhin0210 / avatars.adorable.io-php
There is no license information available for the latest version (dev-master) of this package.
PHP library to get avatars.adorable.io avatars
dev-master
2017-12-22 02:55 UTC
This package is not auto-updated.
Last update: 2025-04-13 07:21:19 UTC
README
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();