Skip to content

vhin0210/avatars.adorable.io-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

avatars.adorable.io-php

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();

About

avatars.adorable.io PHP library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages