Skip to content

gam6itko/fakerphp-animal-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fakephp Animal provider

Plugin for FakerPHP/Faker

Installation

composer req gam6itko/fakerphp-animal-provider

Usage

use Faker\Factory;
use Gam6itko\Faker\Provider\Animal;

$locale = 'en_US';
$generator = Factory::create($locale);
\Gam6itko\Faker\ProviderFactory::addProvider($generator, 'Animal', $locale);

echo $generator->animal(); // 'cat'
echo $generator->adjectiveAnimal(); // 'curious cat'

About

Additional plugin for fakerphp/faker that allows you to generate a random animal

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages