1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-19 23:09:47 +01:00

Merge pull request #180 from nineinchnick/pl_update_readme

add new Polish generators to readme.md
This commit is contained in:
Francois Zaninotto 2013-09-21 01:15:01 -07:00
commit 8662d5d0b4

View File

@ -633,6 +633,31 @@ echo $faker->p; // "5398237590"
```
### `Faker\Provider\pl_PL\Person`
```php
<?php
// Generates a random PESEL number
echo $faker->pesel; // "40061451555"
// Generates a random personal identity card number
echo $faker->personalIdentityNumber; // "AKX383360"
// Generates a random taxpayer identification number (NIP)
echo $faker->taxpayerIdentificationNumber; // '8211575109'
```
### `Faker\Provider\pl_PL\Company`
```php
<?php
// Generates a random REGON number
echo $faker->regon; // "714676680"
// Generates a random local REGON number
echo $faker->regonLocal; // "15346111382836"
```
## License