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

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

digipeopleinc/faker
===================

Random data generators for PHP

0.8.5(3y ago)226MITPHPPHP &gt;=8.1

Since Oct 5Pushed 3y ago3 watchersCompare

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

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

Faker
=====

[](#faker)

Requires PHP &gt;= 8.1

Table of Contents
=================

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)

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

[](#installation)

```
composer require digipeopleinc/faker
```

Usage
-----

[](#usage)

```
require_once("../vendor/autoload.php");
use Digipeopleinc\Faker\Faker;
use Digipeopleinc\Faker\Modules\Text;

$faker = new Faker("ru_RU");
$quote = $faker->quote(template: "«{Quote}» {Author}");
$rgbColor = $faker->rgbCss();
$personName = $faker->person(gender: Text::GENDER_FEMALE);
$html = $faker->html(
    [
        "h1" => $faker->sentence(maxWords: 5),
        "div" => [
            $faker->tag(
                fn() => $faker->arrayOf(
                    fn() => $faker->paragraph(maxWords: 40),
                    times: 10
                ),
                tag: "p"
            )
        ],
        $faker->tag($quote, "p", ["style" => "color: ".$rgbColor]),
        $faker->tag($personName, "p")
    ],
    template: "default"
);
```

Running tests
-------------

[](#running-tests)

```
vendor/phpunit/phpunit/phpunit tests
```

See public methods in module classes located in /Modules directory

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~37 days

Total

5

Last Release

1165d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/645fa19a7cdfa08ddf042098794e18a912e0ef8cde0680a06c6657f9ec31c221?d=identicon)[DigiPeopleInc](/maintainers/DigiPeopleInc)

---

Top Contributors

[![Sevich5](https://avatars.githubusercontent.com/u/12406784?v=4)](https://github.com/Sevich5 "Sevich5 (9 commits)")[![AdamBurdel](https://avatars.githubusercontent.com/u/13655952?v=4)](https://github.com/AdamBurdel "AdamBurdel (2 commits)")[![DigiPeopleInc](https://avatars.githubusercontent.com/u/44406729?v=4)](https://github.com/DigiPeopleInc "DigiPeopleInc (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[rezzza/accounting

Accounting utilities

2315.3k](/packages/rezzza-accounting)

PHPackages © 2026

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