Locales

English (Pakistan)

English Pakistan locale for Xefi Faker PHP

You need to require the locale to be able to use it:

composer require --dev xefi/faker-php-locales-en-pk

Be sure to set up faker with the en_PK locale to be able to use this:

$faker = new Xefi\Faker\Faker('en_PK');

Address

Province

$faker->province(); // Punjab

Province Code

$faker->provinceCode(); // SD

City

$faker->city(); // Karachi

Sector Block

$faker->sectorBlock(); // F-11

Street Name

$faker->streetName(); // Iqbal Road

Street Address

$faker->streetAddress(); // G-7 Kashmir Avenue

Postal Code

$faker->postalCode(); // 44000

Full Address

$faker->fullAddress(); // G-11 Shahrah-e-Pakistan Street, Islamabad ICT

Colors

Safe Color Name

$faker->safeColorName(); // Lime

Color Name

$faker->colorName(); // Saffron

Company

Company

$faker->company(); // Attock Petroleum

NTN

$faker->ntn(); // 57308237

Financial

Iban

Please see base method for details.

$faker->iban(countryCode: 'PK', format: 'See code'); // PK72JJED92839147382930

IFSC

$faker->ifsc(); // G4855732

Person

Name

// Gender: null (both), "M" (male) or "F" (female)
$faker->name(gender: 'M'); // Ahmed Khan

Firstname

$faker->firstName(gender: 'F'); // Ayesha

Lastname

$faker->lastName(); // Butt

Text

Words

$faker->words(words: 3); // Unity Faith Discipline

Sentences

$faker->sentences(sentences: 3); // The economy of Pakistan is rapidly growing...

Paragraphs

$faker->paragraphs(paragraphs: 3); // Pakistan has a rich cultural heritage...

Copyright © 2025