samcrosoft / uifaces
This is a library that allows you to access the ui faces api
dev-master
2015-11-28 15:24 UTC
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-11-09 17:03:51 UTC
README
UIFaces is a well written, lightweight PHP library that helps communicate with the UIFaces API
Create a UIFaces Generator
<?php $oGenerator = new Samcrosoft\UIFaces\Generators();
To Get UIFaces of a specific user
<?php $oUserSpecific = $oGenerator->getUser('calebogden'); // To get the Username echo $oUserSpecific->getUsername(); // To get the Normal Image echo $oUserSpecific->getNormalImage();
To get UIFaces of a random user
<?php $oUser = $oGenerator->getRandomUser(); // To get the Username echo $oUser->getUsername(); // To get the Normal Image echo $oUser->getNormalImage();
To get UIFaces for multiple random users
<?php $oUser = $oGenerator->getRandomUser(); // To get the Username echo $oUser->getUsername(); // To get the Normal Image echo $oUser->getNormalImage();