https://github.com/samcrosoft/uifaces
This library exposes the api for UIFaces in php
https://github.com/samcrosoft/uifaces
Last synced: 11 months ago
JSON representation
This library exposes the api for UIFaces in php
- Host: GitHub
- URL: https://github.com/samcrosoft/uifaces
- Owner: samcrosoft
- License: mit
- Created: 2014-12-19T13:16:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-28T15:24:32.000Z (over 10 years ago)
- Last Synced: 2025-01-29T12:30:16.239Z (over 1 year ago)
- Language: PHP
- Size: 31.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
UIFaces
=======
[](https://packagist.org/packages/samcrosoft/uifaces)
[](LICENSE.md)
[](https://travis-ci.org/samcrosoft/UIFaces)
[](https://packagist.org/packages/samcrosoft/uifaces)
UIFaces is a well written, lightweight PHP library that helps communicate with the UIFaces API
Create a UIFaces Generator
```php
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
getRandomUser();
// To get the Username
echo $oUser->getUsername();
// To get the Normal Image
echo $oUser->getNormalImage();
```
To get UIFaces for multiple random users
```php
getRandomUser();
// To get the Username
echo $oUser->getUsername();
// To get the Normal Image
echo $oUser->getNormalImage();
```