Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
RandomUser
test
.gitignore
.travis.yml
README.md
composer.json
composer.lock

README.md

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

You can’t perform that action at this time.