Skip to content

philipwhitt/randomuser-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Latest Stable Version

PHP Random User Generator

Install

Install via composer

{
	"require": {
		"randomuser/generator"  : "1.0.*"
	}
}

Simple PHP client to randomuser.me

Example:

<?php

$gen = new \RandomUser\Generator();
$user = $gen->getUser();

print($user->getName());

See test/RandomUserTest.php for working examples

Unit Tests

Run tests using:

$ phpunit test

Helpful Links

More examples: http://www.philipwhitt.com/blog/2014/09/php-random-user-generator/40

Randomuser.me Documentation: http://randomuser.me/documentation.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages