Download the PHP package marcin-orlowski/polish-ids-faker without Composer
On this page you can find all versions of the php package marcin-orlowski/polish-ids-faker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download marcin-orlowski/polish-ids-faker
More information about marcin-orlowski/polish-ids-faker
Files in marcin-orlowski/polish-ids-faker
Download marcin-orlowski/polish-ids-faker
More information about marcin-orlowski/polish-ids-faker
Files in marcin-orlowski/polish-ids-faker
Vendor marcin-orlowski
Package polish-ids-faker
Short Description FakerPHP provider for generating various IDs used in Poland
License MIT
Package polish-ids-faker
Short Description FakerPHP provider for generating various IDs used in Poland
License MIT
Please rate this library. Is it a good library?
Informations about the package polish-ids-faker
Faker generators for various Polish IDs
Data provider for various IDs used in Poland as NIP, PESEL, REGON, and others so you can easily generate fake data for testing and development purposes.
Installation
Generators
This extensions provides following generators:
nip(): string
Produces a valid NIP number in various formats.
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
$grouping |
NipGrouping |
RANDOM |
Specifies format of the generated NIP. See NipGrouping.php for details. |
pesel(): string
Generates a valid Polish PESEL number.
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
$gender |
PeselGender |
RANDOM |
Enforces PESEL for person of specific gender. See PeselGender.php for details. |
$birthDate |
?\DateTimeInterface |
null |
Optional specific date of birth. If null, a random date is generated. |
regon(): string
Generates a valid 14-digit long Polish REGON number.
Arguments
None
kodPocztowy(): string
Generates a valid 6 character long Polish Zip code number.
Arguments
None
All versions of polish-ids-faker with dependencies
PHP Build Version
Package Version
The package marcin-orlowski/polish-ids-faker contains the following files
Loading the files please wait ...