Locales
English (India)
Indian English 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-in
Be sure to setup faker with the en_IN
locale to be able to use this:
$faker = new Xefi\Faker\Faker('en_IN');
Address
State
$faker->state(); // Uttarakhand
House Number
$faker->houseNumber(); // 104
Street Name
$faker->streetName(); // Hills Rajpath
Street Address
$faker->streetAddress(); // 33, Chowraha Residency
Zip code
$faker->zipCode(); // 861325
City
$faker->city(); // Mumbai
Full Address
$faker->fullAddress(); // 287, Path Church, Ahmedabad, Rajasthan 584416
Colors
Safe Color Name
$faker->safeColorName(); // Teal
Color Name
$faker->colorName() // CharcoalGray
Company
Company
$faker->company(); // Godrej Group
GSTIN
$faker->gstin(); // 12OCKPK3802V6Z2
Financial
Iban
Please see base method for details
$faker->iban(countryCode: 'IN', format: 'See code') // IN28CU9011517189912178556470
Person
Name
// Gender: null(both), "M" (male) or "F" (female)
$faker->name(gender: 'F') // Suhana Tiwari
Firstname
// Gender: null(both), "M" (male) or "F" (female)
$faker->firstName(gender: 'F') // Suhana
Lastname
$faker->lastName() // Tiwari
Text
Words
$faker->words(words: 3); // Innovation drives progress
Sentences
$faker->sentences(sentences: 3); // The use of technology enables teams to work smarter and ...
Paragraphs
$faker->paragraphs(paragraphs: 3); // Monitoring progress helps identify opportunities for growth and ...