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
Package info
github.com/vhin0210/avatars.adorable.io-php
pkg:composer/vhin0210/avatars.adorable.io-php
dev-master
2017-12-22 02:55 UTC
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-13 14:53:59 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();