amandiobm / faker-pis-provider
PIS provider for Faker
v1.0.1
2017-03-21 01:27 UTC
Requires
- fzaninotto/faker: ~1
Requires (Dev)
- phpunit/phpunit: ~4.4
This package is auto-updated.
Last update: 2025-01-29 05:22:34 UTC
README
PIS provider for Faker.
Install
Install the PisProvider adding amandiobm/faker-pis-provider
to your composer.json or from CLI:
$ composer require amandiobm/faker-pis-provider
Usage
$faker = Faker\Factory::create(); $faker->addProvider(new AmandioMagalhaes\Faker\PisProvider($faker)); // PIS $pis = $faker->pis(); // 57182789660 $formattedPis = $faker->pis(true); // 571.82789.66-0