An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

UIFaces
=======

[![Latest Version on Packagist](https://img.shields.io/packagist/v/samcrosoft/uifaces.svg?style=flat-square)](https://packagist.org/packages/samcrosoft/uifaces)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Build Status](https://travis-ci.org/samcrosoft/UIFaces.svg?branch=master)](https://travis-ci.org/samcrosoft/UIFaces)
[![Total Downloads](https://img.shields.io/packagist/dt/samcrosoft/uifaces.svg?style=flat-square)](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();
```