PHPackages                             dr\_fap/yii2-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. dr\_fap/yii2-faker

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

dr\_fap/yii2-faker
==================

Fixture generator. The Faker integration for the Yii framework.

01.8k↓21.3%PHP

Since Feb 7Pushed 1y agoCompare

[ Source](https://github.com/Famper/yii2-faker)[ Packagist](https://packagist.org/packages/dr_fap/yii2-faker)[ RSS](/packages/dr-fap-yii2-faker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [ ![](https://avatars0.githubusercontent.com/u/993323) ](https://github.com/yiisoft)

Faker Extension for Yii 2
=========================

[](#faker-extension-for-yii-2)

This extension provides a [`Faker`](https://github.com/FakerPHP/Faker) fixture command for the [Yii framework 2.0](https://www.yiiframework.com).

For license information check the [LICENSE](LICENSE.md)-file.

Documentation is at [docs/guide/README.md](docs/guide/README.md).

[![Latest Stable Version](https://camo.githubusercontent.com/5c9a1482e0d081be23c98805b1cd8f0ffcacc3164bfee17b8d1f0631dc12762e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796969736f66742f796969322d66616b65722e737667)](https://packagist.org/packages/yiisoft/yii2-faker)[![Total Downloads](https://camo.githubusercontent.com/63abb989a90c412fa366902220a24d4751d7cf94d1fced7b34c5e3a090c315d9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f796969736f66742f796969322d66616b65722e737667)](https://packagist.org/packages/yiisoft/yii2-faker)[![Build Status](https://github.com/yiisoft/yii2-faker/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-faker/actions)

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

[](#installation)

The preferred way to install this extension is through [composer](https://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist yiisoft/yii2-faker

```

or add

```
"yiisoft/yii2-faker": "~2.0.0"
```

to the require section of your composer.json.

Usage
-----

[](#usage)

To use this extension, simply add the following code in your application configuration (console.php):

```
'controllerMap' => [
    'fixture' => [
        'class' => 'yii\faker\FixtureController',
    ],
],
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor3

3 contributors hold 50%+ of commits

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37632821?v=4)[Pavel](/maintainers/Famper)[@Famper](https://github.com/Famper)

---

Top Contributors

[![samdark](https://avatars.githubusercontent.com/u/47294?v=4)](https://github.com/samdark "samdark (37 commits)")[![qiangxue](https://avatars.githubusercontent.com/u/993322?v=4)](https://github.com/qiangxue "qiangxue (24 commits)")[![cebe](https://avatars.githubusercontent.com/u/189796?v=4)](https://github.com/cebe "cebe (18 commits)")[![softark](https://avatars.githubusercontent.com/u/342857?v=4)](https://github.com/softark "softark (7 commits)")[![Ragazzo](https://avatars.githubusercontent.com/u/1748844?v=4)](https://github.com/Ragazzo "Ragazzo (7 commits)")[![SilverFire](https://avatars.githubusercontent.com/u/4499203?v=4)](https://github.com/SilverFire "SilverFire (6 commits)")[![Arhell](https://avatars.githubusercontent.com/u/26163841?v=4)](https://github.com/Arhell "Arhell (6 commits)")[![klimov-paul](https://avatars.githubusercontent.com/u/1482054?v=4)](https://github.com/klimov-paul "klimov-paul (4 commits)")[![Famper](https://avatars.githubusercontent.com/u/37632821?v=4)](https://github.com/Famper "Famper (4 commits)")[![pana1990](https://avatars.githubusercontent.com/u/6630197?v=4)](https://github.com/pana1990 "pana1990 (4 commits)")[![machour](https://avatars.githubusercontent.com/u/304450?v=4)](https://github.com/machour "machour (2 commits)")[![drsdre](https://avatars.githubusercontent.com/u/809827?v=4)](https://github.com/drsdre "drsdre (2 commits)")[![lichunqiang](https://avatars.githubusercontent.com/u/2433916?v=4)](https://github.com/lichunqiang "lichunqiang (1 commits)")[![mohorev](https://avatars.githubusercontent.com/u/4974062?v=4)](https://github.com/mohorev "mohorev (1 commits)")[![nineinchnick](https://avatars.githubusercontent.com/u/795177?v=4)](https://github.com/nineinchnick "nineinchnick (1 commits)")[![ofixone](https://avatars.githubusercontent.com/u/25160623?v=4)](https://github.com/ofixone "ofixone (1 commits)")[![krsriq](https://avatars.githubusercontent.com/u/2337648?v=4)](https://github.com/krsriq "krsriq (1 commits)")[![joshijitendra](https://avatars.githubusercontent.com/u/304748?v=4)](https://github.com/joshijitendra "joshijitendra (1 commits)")[![funivan](https://avatars.githubusercontent.com/u/425208?v=4)](https://github.com/funivan "funivan (1 commits)")[![d1rtyf1ng3rs](https://avatars.githubusercontent.com/u/7011469?v=4)](https://github.com/d1rtyf1ng3rs "d1rtyf1ng3rs (1 commits)")

### Embed Badge

![Health badge](/badges/dr-fap-yii2-faker/health.svg)

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

PHPackages © 2026

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