PHPackages                             lubobill1990/factory-muffin-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. [Testing &amp; Quality](/categories/testing)
4. /
5. lubobill1990/factory-muffin-faker

ActiveLibrary[Testing &amp; Quality](/categories/testing)

lubobill1990/factory-muffin-faker
=================================

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

v2.0.1(7y ago)0104MITPHPPHP &gt;=5.4.0

Since Dec 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/lubobill1990/factory-muffin-faker)[ Packagist](https://packagist.org/packages/lubobill1990/factory-muffin-faker)[ Docs](http://factory-muffin.thephpleague.com/)[ RSS](/packages/lubobill1990-factory-muffin-faker/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

This package is forked from thephpleague/factory-muffin-faker, because the [Faker version is not updated](https://github.com/thephpleague/factory-muffin-faker/issues/12).

Factory Muffin Faker 2.0
========================

[](#factory-muffin-faker-20)

[![StyleCI Status](https://camo.githubusercontent.com/14726fb8943e1209518008159a63ac326a2ee676ad49c07f73380102815f4740/68747470733a2f2f7374796c6563692e696f2f7265706f732f32373838303732382f736869656c64)](https://styleci.io/repos/27880728)[![Build Status](https://camo.githubusercontent.com/4629808e88b097a28d008799ef3c94ce83ca2f2446bb6394b5e02313c25405a3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7468657068706c65616775652f666163746f72792d6d756666696e2d66616b65722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/thephpleague/factory-muffin-faker)[![Coverage Status](https://camo.githubusercontent.com/8c2ae419673459a63ce04d86ea8247e37a1644912c46b2b8febf35283d1f5743/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7468657068706c65616775652f666163746f72792d6d756666696e2d66616b65722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thephpleague/factory-muffin-faker/code-structure)[![Quality Score](https://camo.githubusercontent.com/5406675242a54881d50afc7d1c69b40236ce9f7bb2d9b8c1bf98525ee6fa72c4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7468657068706c65616775652f666163746f72792d6d756666696e2d66616b65722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thephpleague/factory-muffin-faker)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Latest Version](https://camo.githubusercontent.com/a0e4e2573226b26be174dadad9c6e73a052e9e470988bd8148460e377de0b7f9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7468657068706c65616775652f666163746f72792d6d756666696e2d66616b65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/thephpleague/factory-muffin-faker/releases)[![Total Downloads](https://camo.githubusercontent.com/e5fd513049c21f9d76ea6fa7d15dec908fccc7183831a6e30f34dab65f0edca3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c65616775652f666163746f72792d6d756666696e2d66616b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/league/factory-muffin-faker)

The goal of this package is to wrap [Faker](https://github.com/fzaninotto/Faker) to make it super easy to use with [Factory Muffin](https://github.com/thephpleague/factory-muffin).

Note that this library does not actually require Factory Muffin in order to work, so may be used else where too. The whole point of this library is to wrap Faker in closures so the actual generation can be executed at a later point.

Installing
----------

[](#installing)

[PHP](https://php.net) 5.4+ and [Composer](https://getcomposer.org) are required.

In your composer.json, simply add `"lubobil1990/factory-muffin-faker": "^2.0"` to your `"require-dev"` section:

```
{
    "require-dev": {
        "lubobil1990/factory-muffin-faker": "^2.0"
    }
}
```

Usage
-----

[](#usage)

Documentation coming soon.

Contributing
------------

[](#contributing)

Please check out our [contribution guidelines](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

Factory Muffin Faker is a wrapper around [Faker](https://github.com/fzaninotto/Faker) to make it super easy to use with [Factory Muffin](https://github.com/thephpleague/factory-muffin), and is currently maintained by [Graham Campbell](https://github.com/GrahamCampbell). Thank you to all our wonderful [contributors](https://github.com/thephpleague/factory-muffin-faker/contributors) too.

License
-------

[](#license)

Factory Muffin Faker is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 80.5% 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 ~334 days

Total

5

Last Release

2827d ago

Major Versions

v1.0.0 → v2.0.02016-05-13

### Community

Maintainers

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

---

Top Contributors

[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (33 commits)")[![lubobill1990](https://avatars.githubusercontent.com/u/641540?v=4)](https://github.com/lubobill1990 "lubobill1990 (8 commits)")

---

Tags

testingfactoryfaker

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lubobill1990-factory-muffin-faker/health.svg)

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

###  Alternatives

[zenstruck/foundry

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

78611.9M97](/packages/zenstruck-foundry)[league/factory-muffin

The goal of this package is to enable the rapid creation of objects for the purpose of testing.

53713.6M46](/packages/league-factory-muffin)[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)[laravel-shift/factory-generator

Generate factories from existing models

49697.9k](/packages/laravel-shift-factory-generator)[saada/yii2-factory-muffin

A Yii2 wrapper for league/factory-muffin with Gii generators.

1554.6k](/packages/saada-yii2-factory-muffin)

PHPackages © 2026

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