Locales

German (Germany)

German Germany locale for Xefi Faker PHP

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

composer require --dev xefi/faker-php-locales-de-de

Be sure to setup faker with the de_DE locale to be able to use this:

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

Address

Department

$faker->department(); // ['BW' => 'Baden-Württemberg'];

Region

echo $faker->region(); // East

Colors

Safe Color Name

$faker->safeColorName(); // DunkelRot

Color Name

$faker->colorName() // Schwarz

Company

Ust IdNr

$faker->ustIdNr(); // DE7593849123

Handelsregisternummer

$faker->handelsregisternummer(); // HRB84923

Financial

Iban

Please see base method for details

$faker->iban(countryCode: 'DE', format: 'See code') // US7630004028379876543210

Person

Name

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

Firstname

// Gender: null(both), "M" (male) or "F" (female)
$faker->firstName(gender: 'F') // Jana

Lastname

$faker->lastName() // Klein

Text

Words

$faker->words(words: 3); // ressourcenmanagement ist essentiell

Sentences

$faker->sentences(sentences: 3); // Kontinuierliche Verbesserung hilft Unternehmen wettbewerbsfähig und ...

Paragraphs

$faker->paragraphs(paragraphs: 3); // Die Nutzung von Technologie ermöglicht es Teams, smarter ...

Copyright © 2024