alu / faker-providers
A collection of custom providers for the fzaninotto/Faker library
dev-master
2020-05-06 22:28 UTC
Requires
- php: ^7.0
- fzaninotto/faker: ^1.9
Requires (Dev)
- phpunit/phpunit: ^4.8.35 || ^5.7
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2025-03-07 09:11:00 UTC
README
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.