Skip to content

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

License

Notifications You must be signed in to change notification settings

gam6itko/fakerphp-animal-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fakephp Animal provider

Plugin for FakerPHP/Faker

Installation

composer req gam6itko/fakephp-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

Languages