alister / faker-extensions
Additional providers for fzaninotto/Faker lib.
Installs: 212
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=7.0
- fzaninotto/faker: ^1.6
Requires (Dev)
- phpmd/phpmd: ^2.6
- phpunit/phpunit: ^6.1
- sebastian/phpcpd: ^3.0
- sensiolabs/security-checker: ^4.0
- squizlabs/php_codesniffer: ^3.0
Suggests
- willdurand/faker-bundle: Put the awesome Faker lib into the DIC and populate your database with fake data.
README
Available extensions
- Skills - available as array (via skills($qty)) and skillsString($qty)
- LondonDistricts - returns a single london district name
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 }