alu/faker-providers

A collection of custom providers for the fzaninotto/Faker library

dev-master 2020-05-06 22:28 UTC

This package is auto-updated.

Last update: 2025-03-07 09:11:00 UTC


README

Continuous Integration codecov

A collection of custom providers for the fzaninotto/Faker php library. fzaninotto/Faker is a PHP library that generates fake data for you.

Faker Providers requires PHP >= 7.1.0

Installation

Installation is done with composer:

composer require alu/faker-providers

Usage

<?php

$faker = \Faker\Factory::create();
$faker->addProvider(new \Alu\Faker\Provider\MonkeyIsland($faker));


echo $faker->name;     // Name of a character from the Monkey Island franchise.
echo $faker->location; // Name of a location from the Monkey Island franchise.

License

Released under the MIT License. See the LICENSE file for details.