PHPackages                             hereldar/faker-helper - 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. hereldar/faker-helper

ActiveLibrary

hereldar/faker-helper
=====================

Helper package to make it easier to generate fake values.

0.2.0(1y ago)01.0k1MITPHPCI passing

Since Mar 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/hereldar/php-faker-helper)[ Packagist](https://packagist.org/packages/hereldar/faker-helper)[ RSS](/packages/hereldar-faker-helper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

FakerHelper
===========

[](#fakerhelper)

[![PHP](https://camo.githubusercontent.com/690c678e4779b521a3a33b0822be68cae4bea60cbb9f335a339cd12f4a927c98/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e31253230746f253230382e342d3737376262332e737667)](https://coveralls.io/github/hereldar/php-faker-helper)[![Code Coverage](https://camo.githubusercontent.com/02cbfd0e989368417cb96bd510d541acc7e9230b153e03adde41ff92637de892/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f686572656c6461722f7068702d66616b65722d68656c706572)](https://app.codecov.io/gh/hereldar/php-faker-helper)[![Type Coverage](https://camo.githubusercontent.com/e9ebce1a878a190ed09583f23869de135b3024c1c4da5371bbe5661dc00a6ac7/68747470733a2f2f73686570686572642e6465762f6769746875622f686572656c6461722f7068702d66616b65722d68656c7065722f636f7665726167652e737667)](https://shepherd.dev/github/hereldar/php-faker-helper)[![Psalm Level](https://camo.githubusercontent.com/06781ee29335eee4fa535a39fd2408c0c37117a1dd3a8452f6f70350ee187310/68747470733a2f2f73686570686572642e6465762f6769746875622f686572656c6461722f7068702d66616b65722d68656c7065722f6c6576656c2e737667)](https://shepherd.dev/github/hereldar/php-faker-helper)[![Packagist](https://camo.githubusercontent.com/5628ffa8f095f7af15ff81db3b94cdda7402968dfd54495ef995d9dd77cd4d4f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f686572656c6461722f66616b65722d68656c7065722e737667)](https://packagist.org/packages/hereldar/faker-helper)[![License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)

Helper package to make it easier to use the [Faker](https://fakerphp.github.io/)PHP library.

```
fake()->latitude();
fake('fr_FR')->firstName();
fake()->optional()->creditCardNumber();
```

Highlights
----------

[](#highlights)

- Ease of use
- Type safety
- Autocompletion

Installation
------------

[](#installation)

Via Composer:

```
composer require --dev hereldar/faker-helper
```

Development
-----------

[](#development)

Run the following commands from the project folder:

```
make tests
make static-analysis
make coding-standards
```

To execute:

- A [PHPUnit](https://phpunit.de) test suite.
- [PHPStan](https://phpstan.org/) and [Psalm](https://psalm.dev/) for static code analysis.
- [Easy Coding Standard](https://github.com/easy-coding-standard/easy-coding-standard)to fix coding standards.

Documentation
-------------

[](#documentation)

All Faker formatters and locales are available:

- [Formatters](https://fakerphp.github.io/formatters/)
- [Locales](https://fakerphp.github.io/locales/en_US/)

Credits
-------

[](#credits)

- [Samuel Maudo](https://github.com/samuelmaudo)

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 86.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~60 days

Total

3

Last Release

650d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e69606567e5c99066ebbe99515ffda4c8659aa53d95ec9b7f7b70065c712244e?d=identicon)[hereldar](/maintainers/hereldar)

---

Top Contributors

[![samuelmaudo](https://avatars.githubusercontent.com/u/248153?v=4)](https://github.com/samuelmaudo "samuelmaudo (25 commits)")[![hereldar](https://avatars.githubusercontent.com/u/83026166?v=4)](https://github.com/hereldar "hereldar (4 commits)")

---

Tags

faker

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/hereldar-faker-helper/health.svg)

```
[![Health](https://phpackages.com/badges/hereldar-faker-helper/health.svg)](https://phpackages.com/packages/hereldar-faker-helper)
```

###  Alternatives

[nelmio/alice

Expressive fixtures generator

2.5k43.4M133](/packages/nelmio-alice)[zenstruck/foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.

78311.9M97](/packages/zenstruck-foundry)[mbezhanov/faker-provider-collection

A collection of custom providers for the Faker library

2138.6M24](/packages/mbezhanov-faker-provider-collection)[yiisoft/yii2-faker

Fixture generator. The Faker integration for the Yii framework.

11215.9M482](/packages/yiisoft-yii2-faker)[league/factory-muffin-faker

The goal of this package is to wrap faker to make it super easy to use with factory muffin.

4411.3M27](/packages/league-factory-muffin-faker)[pelmered/fake-car

Fake-Car is a Faker provider that generates fake car data for you.

1271.2M2](/packages/pelmered-fake-car)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
