Locales
French (France)
French France locale for Xefi Faker PHP
You need to require the locale to be able to use it
composer require --dev xefi/faker-php-locales-fr-fr
Be sure to setup faker with the fr_FR
locale to be able to use this:
$faker = new Xefi\Faker\Faker('fr_FR');
Address
Department
$faker->department(); // ['18' => 'Cher'];
Region
echo $faker->region(); // "Saint-Pierre-et-Miquelon"
Colors
Safe Color Name
$faker->safeColorName(); // Noir
Color Name
$faker->colorName() // BlancAntique
Company
Siret
$faker->siret(); // 36252187900034
Siren
$faker->siren(); // 362521879
Financial
Iban
Please see base method for details
$faker->iban(countryCode: 'FR', format: 'See code') // FR7630004028379876543210943
Person
Name
// Gender: null(both), "M" (male) or "F" (female)
$faker->name(gender: 'F') // Martine Benard
Firstname
// Gender: null(both), "M" (male) or "F" (female)
$faker->firstName(gender: 'F') // Anne
Lastname
$faker->lastName() // Levy
Nir
This field corresponds to "Numéro d’Inscription au Répertoire" also called "Numéro de sécurité sociale"
// Gender: null(both), "M" (male) or "F" (female)
// Formated: "x xx xx xx xxx xxx xx"
$faker->nir(gender: 'M', formated: true) // 1 84 12 75 123 456 78
Text
Words
$faker->words(words: 3); // travail les identifier
Sentences
$faker->sentences(sentences: 3); // Chaque projet requiert une attention particulière pour assurer ...
Paragraphs
$faker->paragraphs(paragraphs: 3); // La qualité des services reste un objectif central dans le ...