PHPackages                             frolaxhq/php-faker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. frolaxhq/php-faker

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

frolaxhq/php-faker
==================

Faker is a PHP library that generates fake data for you.

v2.0.1(2mo ago)013MITPHPPHP ^7.4 || ^8.0

Since Jul 10Pushed 2mo agoCompare

[ Source](https://github.com/frolaxhq/php-faker)[ Packagist](https://packagist.org/packages/frolaxhq/php-faker)[ RSS](/packages/frolaxhq-php-faker/feed)WikiDiscussions 2.0 Synced 2mo ago

READMEChangelog (2)Dependencies (5)Versions (37)Used By (0)

[![Social card of FakerPHP](https://github.com/FakerPHP/Artwork/raw/main/src/socialcard.png)](https://github.com/FakerPHP/Artwork/raw/main/src/socialcard.png)

Faker
=====

[](#faker)

[![Packagist Downloads](https://camo.githubusercontent.com/6261bcde17aedbebac2a9ae2971ddbc7e4569e4ba3348d877eda3e44b06907cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f46616b65725048502f46616b6572)](https://packagist.org/packages/fakerphp/faker)[![GitHub Workflow Status](https://camo.githubusercontent.com/a57cb905186306111ade00113a273a003541277db9790e3353bd87082ff835c3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f46616b65725048502f46616b65722f74657374732e79616d6c3f6272616e63683d322e30)](https://github.com/FakerPHP/Faker/actions)[![Type Coverage](https://camo.githubusercontent.com/396ba73f3fcb3929eb6fd04cdf735d956f28c17bd35cbfe8c05237772397e9f2/68747470733a2f2f73686570686572642e6465762f6769746875622f46616b65725048502f46616b65722f636f7665726167652e737667)](https://shepherd.dev/github/FakerPHP/Faker)[![Code Coverage](https://camo.githubusercontent.com/15ccecb1366802c916bbe6208fd4b8966d76a8fe0d8bf100424f05ab01eaae00/68747470733a2f2f636f6465636f762e696f2f67682f46616b65725048502f46616b65722f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/FakerPHP/Faker)

Faker is a PHP library that generates fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymize data taken from a production service, Faker is for you.

It's heavily inspired by Perl's [Data::Faker](https://metacpan.org/pod/Data::Faker), and by Ruby's [Faker](https://rubygems.org/gems/faker).

Getting Started
---------------

[](#getting-started)

### Installation

[](#installation)

Faker requires PHP &gt;= 7.4.

```
composer require fakerphp/faker
```

### Documentation

[](#documentation)

Full documentation can be found over on [fakerphp.github.io](https://fakerphp.github.io).

### Basic Usage

[](#basic-usage)

Use `Faker\Factory::create()` to create and initialize a Faker generator, which can generate data by accessing methods named after the type of data you want.

```
