alister/faker-extensions

Additional providers for fzaninotto/Faker lib.

1.3.0 2017-10-11 15:30 UTC

README

Build Status SensioLabsInsight Scrutinizer Code Quality Dependency Status

Latest Stable Version Total Downloads Latest Unstable Version License

Available extensions

Use

use Alister\Faker\Provider\LondonDistricts;

// and in the code:
$faker = Faker\Factory::create('en_GB');
$faker->addProvider(new FakeSkills($faker));
$faker->addProvider(new LondonDistricts($faker));

They can also be used via the BazingaFakerBundle

faker.provider.london_districts:
    class: Alister\Faker\Provider\LondonDistricts
    arguments: [@faker.generator]
    tags:
        - { name: bazinga_faker.provider }