# Faker PHP > Faker PHP (`xefi/faker-php`) generates fake data for PHP 8.3+ applications: tests, fixtures, database seeding and anonymisation. It is a standalone library, not a fork of `fakerphp/faker`, with a modular design where locales, extra generators and framework bridges are installed as separate Composer packages. ```bash composer require --dev xefi/faker-php ``` Usage: `$faker = new Xefi\Faker\Faker();` then call any generator, for example `$faker->name()`, `$faker->number(1, 10)` or `$faker->iban()`. Chain `unique()`, `valid()`, `regex()` to constrain a value, and `nullable()`, `uppercase()`, `lowercase()`, `ucfirst()` to transform it. ## Getting Started - [Getting Started](https://faker-php.xefi.com/getting-started/.navigation) - [Introduction](https://faker-php.xefi.com/getting-started): Welcome to Faker's enhanced PHP library. - [Why a new FakerPHP ?](https://faker-php.xefi.com/getting-started/why-a-new-version): The genesis of the project - [Usage](https://faker-php.xefi.com/getting-started/usage): Get started with Faker PHP. - [Frameworks](https://faker-php.xefi.com/getting-started/integrations): Integrations on Xefi Faker PHP - [Package Development](https://faker-php.xefi.com/getting-started/package-development): Package Development on Xefi Faker PHP - [Strategies](https://faker-php.xefi.com/getting-started/strategies): Strategies allows to play with faker during random data generation - [Modifiers](https://faker-php.xefi.com/getting-started/modifiers): Modifiers allows you to control output faker data without impacting your code - [Custom Extension](https://faker-php.xefi.com/getting-started/custom-extension): Custom extension for Xefi Faker PHP ## Extensions - [Extensions](https://faker-php.xefi.com/extensions/.navigation) - [Array](https://faker-php.xefi.com/extensions/array): Array extension for Xefi Faker PHP - [Bank](https://faker-php.xefi.com/extensions/bank): Bank extension for Xefi Faker PHP - [Boolean](https://faker-php.xefi.com/extensions/boolean): Boolean extension for Xefi Faker PHP - [Colors](https://faker-php.xefi.com/extensions/colors): Colors extension for Xefi Faker PHP - [Countries](https://faker-php.xefi.com/extensions/countries): Countries extension for Xefi Faker PHP - [Currencies](https://faker-php.xefi.com/extensions/currencies): Currencies extension for Xefi Faker PHP - [DateTime](https://faker-php.xefi.com/extensions/datetime): DateTime extension for Xefi Faker PHP - [Files](https://faker-php.xefi.com/extensions/files): Files extension for Xefi Faker PHP - [Financial](https://faker-php.xefi.com/extensions/financial): Financial extension for Xefi Faker PHP - [Geographical](https://faker-php.xefi.com/extensions/geographical): Geographical extension for Xefi Faker PHP - [Hash](https://faker-php.xefi.com/extensions/hash): Hash extension for Xefi Faker PHP - [Images](https://faker-php.xefi.com/extensions/images): Images extension for Xefi Faker PHP - [Internet](https://faker-php.xefi.com/extensions/internet): Internet extension for Xefi Faker PHP - [Numbers](https://faker-php.xefi.com/extensions/numbers): Numbers extension for Xefi Faker PHP - [Person](https://faker-php.xefi.com/extensions/person): Person extension for Xefi Faker PHP - [Phone](https://faker-php.xefi.com/extensions/phone): Phone extension for Xefi Faker PHP - [Strings](https://faker-php.xefi.com/extensions/strings): Strings extension for Xefi Faker PHP - [Text](https://faker-php.xefi.com/extensions/text): Text extension for Xefi Faker PHP ## Locales - [Locales](https://faker-php.xefi.com/locales/.navigation) - [Belarusian (Belarus)](https://faker-php.xefi.com/locales/be-by): Belarusian locale for Xefi Faker PHP - [Czech (Czechia)](https://faker-php.xefi.com/locales/cs-cz): Czech (Czechia) locale for Xefi Faker PHP - [Danish (Denmark)](https://faker-php.xefi.com/locales/da-dk): Danish (Denmark) locale for Xefi Faker PHP - [German (Switzerland)](https://faker-php.xefi.com/locales/de-ch): German (Switzerland) locale for Xefi Faker PHP - [German (Germany)](https://faker-php.xefi.com/locales/de-de): German locale for Xefi Faker PHP - [English (Australia)](https://faker-php.xefi.com/locales/en-au): English (Australia) locale for Xefi Faker PHP - [English (Canada)](https://faker-php.xefi.com/locales/en-ca): English (Canada) locale for Xefi Faker PHP - [English (United Kingdom)](https://faker-php.xefi.com/locales/en-gb): English United Kingdom locale for Xefi Faker PHP - [English (Ireland)](https://faker-php.xefi.com/locales/en-ie): English (Ireland) locale for Xefi Faker PHP - [English (India)](https://faker-php.xefi.com/locales/en-in): Indian English locale for Xefi Faker PHP - [English (New Zealand)](https://faker-php.xefi.com/locales/en-nz): English (New Zealand) locale for Xefi Faker PHP - [English (Pakistan)](https://faker-php.xefi.com/locales/en-pk): English Pakistan locale for Xefi Faker PHP - [English (United States)](https://faker-php.xefi.com/locales/en-us): English United States locale for Xefi Faker PHP - [Spanish (Spain)](https://faker-php.xefi.com/locales/es-es): Spanish locale for Xefi Faker PHP - [Spanish (Peru)](https://faker-php.xefi.com/locales/es-pe): Spanish (Peru) locale for Xefi Faker PHP - [Spanish (Venezuela)](https://faker-php.xefi.com/locales/es-ve): Spanish (Venezuela) locale for Xefi Faker PHP - [Persian (Iran)](https://faker-php.xefi.com/locales/fa-ir): Persian (Iran) locale for Xefi Faker PHP - [Finnish (Finland)](https://faker-php.xefi.com/locales/fi-fi): Finnish (Finland) locale for Xefi Faker PHP - [French (Belgium)](https://faker-php.xefi.com/locales/fr-be): French Belgian locale for Xefi Faker PHP - [French (Canada)](https://faker-php.xefi.com/locales/fr-ca): French (Canada) locale for Xefi Faker PHP - [French (Switzerland)](https://faker-php.xefi.com/locales/fr-ch): French Switzerland locale for Xefi Faker PHP - [French (France)](https://faker-php.xefi.com/locales/fr-fr): French locale for Xefi Faker PHP - [Italian (Switzerland)](https://faker-php.xefi.com/locales/it-ch): Italian (Switzerland) locale for Xefi Faker PHP - [Italian (Italy)](https://faker-php.xefi.com/locales/it-it): Italian (Italy) locale for Xefi Faker PHP - [Norwegian Bokmål (Norway)](https://faker-php.xefi.com/locales/nb-no): Norwegian Bokmål (Norway) locale for Xefi Faker PHP - [Dutch (Belgium)](https://faker-php.xefi.com/locales/nl-be): Dutch (Belgium) locale for Xefi Faker PHP - [Dutch (Netherlands)](https://faker-php.xefi.com/locales/nl-nl): Dutch (Netherlands) locale for Xefi Faker PHP - [Portuguese (Brazil)](https://faker-php.xefi.com/locales/pt-br): Portuguese (Brazil) locale for Xefi Faker PHP - [Portuguese (Portugal)](https://faker-php.xefi.com/locales/pt-pt): Portuguese (Portugal) locale for Xefi Faker PHP - [Romanian (Romania)](https://faker-php.xefi.com/locales/ro-ro): Romanian (Romania) locale for Xefi Faker PHP - [Russian (Russia)](https://faker-php.xefi.com/locales/ru-ru): Russian (Russia) locale for Xefi Faker PHP - [Turkish (Turkey)](https://faker-php.xefi.com/locales/tr-tr): Turkish (Turkey) locale for Xefi Faker PHP ## Optional - [Full documentation as a single file](https://faker-php.xefi.com/llms-full.txt): every page above, concatenated - [Source repository](https://github.com/xefi/faker-php): core package, issues and contribution guide - [Packagist](https://packagist.org/packages/xefi/faker-php): releases and the `xefi/faker-php-*` extension packages