Skip to content

Commit c8528e6

Browse files
committed
added Polish license plates
1 parent 8ed94da commit c8528e6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/locales/pl_PL.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,21 @@ echo $faker->bank; // "Narodowy Bank Polski"
2828
// Generates a random bank account number
2929
echo $faker->bankAccountNumber; // "PL14968907563953822118075816"
3030
```
31+
32+
### `Faker\Provider\pl_PL\LicensePlate`
33+
```php
34+
<?php
35+
// Generates a random Polish civil vehicle registration number
36+
echo $faker->licensePlate; // "SO 4429E"
37+
echo $faker->licensePlate(false); // "BKL YP21"
38+
// Generates a random Polish vehicle registration number including civil, army and services plates
39+
echo $faker->licensePlate(true); // "CBY 0874H", "HPF N2LV"
40+
// Generates a random Polish vehicle registration number for specific voivodeships
41+
echo $faker->licensePlate(false, ['zachodniopomorskie', 'świętokrzyskie']); // "ZGY 35807"
42+
// Generates a random Polish vehicle registration number for specific counties
43+
echo $faker->licensePlate(false, ['warmińsko-mazurskie'], ['nidzicki', 'olecki']); // "NOE 35807"
44+
// Generates a random Polish license plate of Border Service or Police
45+
echo $faker->licensePlate(true, ['services'], ['Straż Graniczna', 'Policja']); // "UG 822PC"
46+
// Generates a random Polish army license plate
47+
echo $faker->licensePlate(true, ['army']); // "UG 822PC"
48+
```

0 commit comments

Comments
 (0)