Locales
English (United Kingdom)
English United Kingdom 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-gb
Be sure to setup faker with the en_GB
locale to be able to use this:
$faker = new Xefi\Faker\Faker('en_GB');
Address
Department
$faker->department(); // ['SCT' => 'Banffshire']
Region
echo $faker->region(); // England
Colors
Safe Color Name
$faker->safeColorName(); // Lime
Color Name
$faker->colorName() // DarkCyan
Company
Ust IdNr
$faker->vatNumber(); // GB783920473
Handelsregisternummer
$faker->companyRegistrationNumber(); // KH839263
Financial
Iban
Please see base method for details
$faker->iban(countryCode: 'GB', format: 'See code') // GB72JJED92839147382930
Person
Name
// Gender: null(both), "M" (male) or "F" (female)
$faker->name(gender: 'F') // Joseph Edwards
Firstname
// Gender: null(both), "M" (male) or "F" (female)
$faker->firstName(gender: 'F') // Lily
Lastname
$faker->lastName() // King
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 ...