vhin0210 / avatars.adorable.io-php
PHP library to get avatars.adorable.io avatars
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/vhin0210/avatars.adorable.io-php
This package is not auto-updated.
Last update: 2025-10-26 10:05:56 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();