PHPackages                             factory-bot/factory-bot - 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. factory-bot/factory-bot

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

factory-bot/factory-bot
=======================

Fixtures replacement with a straightforward definition syntax

1.4.1(4y ago)733.1k↓32.7%[2 PRs](https://github.com/Godfather27/FactoryBot/pulls)MITPHP &gt;=5.4.0

Since Jun 19Compare

[ Source](https://github.com/Godfather27/FactoryBot)[ Packagist](https://packagist.org/packages/factory-bot/factory-bot)[ Docs](https://github.com/Godfather27/FactoryBot)[ RSS](/packages/factory-bot-factory-bot/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (3)Versions (8)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/Godfather27/FactoryBot).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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 ~79 days

Recently: every ~117 days

Total

7

Last Release

1685d ago

### Community

Maintainers

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

---

Tags

testingfactoryFixturedatabotfactorygirlfactory\_botfactorybotfactoryboy

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/factory-bot-factory-bot/health.svg)

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

###  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.

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)[laracasts/testdummy

Easy test stubs

4671.4M36](/packages/laracasts-testdummy)[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)[breerly/factory-girl-php

Fixture replacement for focused and readable tests - A PHP port of Thoughtbot's Ruby Factory Girl

111242.8k2](/packages/breerly-factory-girl-php)

PHPackages © 2026

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