Extensions for the Faker library (PHP)
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitattributes
.gitignore
.scrutinizer.yml
.travis.php.ini
.travis.yml
LICENSE
Makefile
README.md
build-pre-commit.xml
build.xml
composer.json
phpcs.xml
phpmd-pre-commit.xml
phpmd.xml
phpunit.xml
qa-tools.json
runTests.sh

README.md

Faker extensions

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 }