Locales
Czech (Czechia)
Czech (Czechia) locale for Xefi Faker PHP
You need to require the locale to be able to use it
composer require --dev xefi/faker-php-locales-cs-cz
Be sure to setup faker with the cs_CZ locale to be able to use this:
$faker = new Xefi\Faker\Faker('cs_CZ');
Address
Region
Returns a random Czech region (kraj).
$faker->region(); // Královéhradecký kraj
City
$faker->city(); // Ostrava
Post code
$faker->postcode(); // 180 72
House Number
$faker->houseNumber(); // 2571/13
Street Name
$faker->streetName(); // Lidická
Street Address
$faker->streetAddress(); // Jiráskova 1219/108
Full Address
$faker->fullAddress(); // Slunečná 1598/16, 793 52 Brno
Colors
Safe Color Name
$faker->safeColorName(); // Modrá
Color Name
$faker->colorName(); // TmavěOranžová
Company
Company
$faker->company(); // Datová centra Morava a.s.
IČO
Generates a Czech company identification number (IČO): 8 digits with a valid modulo 11 check digit.
$faker->ico(); // 21419361
VAT number
Generates a Czech VAT number (DIČ) of a legal entity: "CZ" followed by its IČO.
$faker->vat(); // CZ70934797
Financial
Iban
Please see base method for details. Generates a Czech IBAN (CZkk + 20 digits). The default BBAN is a 4-digit bank code, a 6-digit account prefix and a 10-digit account number passing the national modulo 11 check.
$faker->iban(countryCode: 'CZ', format: null); // CZ8027000000000619666850
Person
Name
// Gender: null(both), "M" (male) or "F" (female)
$faker->name(gender: 'F'); // Klára Bartošová
Firstname
// Gender: null(both), "M" (male) or "F" (female)
$faker->firstName(gender: 'F'); // Jitka
Lastname
$faker->lastName(); // Horák
Title
// Gender: null(both), "M" (male) or "F" (female)
$faker->title(gender: 'F'); // Paní
Rodné číslo
Generates a Czech birth number (rodné číslo), formatted as YYMMDD/XXXX.
$faker->rodneCislo(gender: 'F'); // 975430/7189
Phone
Please see base methods for every format variant.
Phone number
$faker->phoneNumber(); // 452050088
Cell phone number
$faker->cellPhoneNumber(); // 798811144
Landline phone number
$faker->landlinePhoneNumber(); // 447128235
International format
$faker->spacedIndicatoredPhoneNumber(); // +420 705 084 575
Text
Words
$faker->words(words: 3); // a dalšího rychle
Sentences
$faker->sentences(sentences: 3); // Otevřená komunikace mezi kolegy zvyšuje produktivitu i vzájemnou důvěru. Správa zdrojů je klíčovým prvkem...
Paragraphs
$faker->paragraphs(paragraphs: 3); // Správa zdrojů je klíčovým prvkem celkové výkonnosti. Pracovní postupy se vyvíjejí podle potřeb a nových...