samcrosoft/uifaces

This is a library that allows you to access the ui faces api

Maintainers

Package info

github.com/samcrosoft/UIFaces

pkg:composer/samcrosoft/uifaces

Statistics

Installs: 43

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-master 2015-11-28 15:24 UTC

This package is not auto-updated.

Last update: 2026-02-28 23:53:53 UTC


README

Latest Version on Packagist Software License Build Status Total Downloads

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