Faker

Faker

Language
PHP
Category
3
Version
1.20.0
Authors
Unknown
Description
Faker is a PHP library that generates fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymize data taken from a production service, Faker is for you.
Install Instructions
composer require fakerphp/faker
Usage
require_once 'vendor/autoload.php';
// use the factory to create a FakerGenerator instance
$faker = FakerFactory::create();
// generate data by calling methods
echo $faker->name();
// 'Vince Sporer'
echo $faker->email();
// 'walter.sophia@hotmail.com'
echo $faker->text();
// 'Numquam ut mollitia at consequuntur inventore dolorem.'
Links