PHPackages                             pakacuda/cakephp-fixture-factories - 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. pakacuda/cakephp-fixture-factories

Abandoned → [vierge-noire/cakephp-fixture-factories](/?search=vierge-noire%2Fcakephp-fixture-factories)Cakephp-plugin[Testing &amp; Quality](/categories/testing)

pakacuda/cakephp-fixture-factories
==================================

CakePHP Dynamic Fixtures

v3.0.2(2y ago)846.6k22[16 issues](https://github.com/vierge-noire/cakephp-fixture-factories/issues)1MITPHPPHP &gt;=8.1CI failing

Since Apr 28Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/vierge-noire/cakephp-fixture-factories)[ Packagist](https://packagist.org/packages/pakacuda/cakephp-fixture-factories)[ RSS](/packages/pakacuda-cakephp-fixture-factories/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (131)Used By (1)

 [![ff-logo](https://camo.githubusercontent.com/758490ab5327331f87be38438dc140bcc1dfb6dc1edd6c5baf7b0eb060976333/68747470733a2f2f7669657267652d6e6f6972652e6769746875622e696f2f696d616765732f666978747572655f666163746f726965732e737667)](https://vierge-noire.github.io/)

CakePHP Fixture Factories
==========================

[](#cakephp-fixture-factories)

### Write and run your tests faster. On any PHP application.

[](#write-and-run-your-tests-faster-on-any-php-application)

---

```
ArticleFactory::make(5)->with('Authors[3].Address.City.Country')->persist();
```

---

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

[](#installation)

CakePHP 5 and non-CakePHP applications

```
composer require --dev vierge-noire/cakephp-fixture-factories "^3.0"

```

CakePHP 4

```
composer require --dev vierge-noire/cakephp-fixture-factories "^2.5"

```

CakePHP 3

```
composer require --dev vierge-noire/cakephp-fixture-factories "^1.0"

```

PHP 7.0 is supported up to v1.1.\* only.

---

Content
-------

[](#content)

- ### [Setup - DB Cleaning](docs/setup.md)

    [](#setup---db-cleaning)
- ### [Fixture Factories](docs/factories.md)

    [](#fixture-factories)
- ### [Test Fixtures](docs/examples.md)

    [](#test-fixtures)
- ### [Associations](docs/associations.md)

    [](#associations)
- ### [Associations for non-CakePHP apps](docs/no_cake_associations.md)

    [](#associations-for-non-cakephp-apps)
- ### [Scenarios](docs/scenarios.md)

    [](#scenarios)
- ### [Queries](docs/queries.md)

    [](#queries)
- ### [Bake command](docs/bake.md)

    [](#bake-command)
- ### [Persist command](docs/commands.md)

    [](#persist-command)

---

Resources
---------

[](#resources)

[CakeFest 2021](https://www.youtube.com/watch?v=1WrWH2F_hWE) - [IPC-Berlin 2020](https://www.youtube.com/watch?v=yJ6EqAE2NEs) - [CakeFest 2020](https://www.youtube.com/watch?v=PNA1Ck2-nVc&t=30s)

Contribute
----------

[](#contribute)

The development branch is named `next` (CakePHP 4.x based). Send us your pull requests!

Support
-------

[](#support)

Contact us at  for professional assistance.

You like our work? [![ko-fi](https://camo.githubusercontent.com/1fedf764fa06114b797ee53e7506df10880abed6766f854202d758df1707969d/68747470733a2f2f7777772e6b6f2d66692e636f6d2f696d672f676974687562627574746f6e5f736d2e737667)](https://ko-fi.com/L3L52P9JA)

Authors
-------

[](#authors)

Juan Pablo Ramirez and Nicolas Masson

License
-------

[](#license)

The CakePHPFixtureFactories plugin is offered under an [MIT license](https://opensource.org/licenses/mit-license.php).

Copyright 2023 Juan Pablo Ramirez and Nicolas Masson

Licensed under The MIT License Redistributions of files must retain the above copyright notice.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance52

Moderate activity, may be stable

Popularity36

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 89% 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 ~12 days

Recently: every ~30 days

Total

110

Last Release

820d ago

Major Versions

v1.4 → v2.42021-09-08

v1.5 → v2.52021-11-01

v1.5.1 → v2.5.12021-11-07

v1.7.1 → v2.8.0-rc.12023-05-10

v2.9.2 → v3.02023-10-09

PHP version history (6 changes)v0.2.0PHP &gt;=7.1

v0.1.0PHP &gt;=7.0.0

v0.2.5PHP &gt;=7.2

v1.2PHP &gt;=7.1.0

v2.8.0-rc.1PHP &gt;=7.4

v3.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/84e140c6ff1a150dcd07a173e442d4e15b2acb44a091249046fb448fabf04b0e?d=identicon)[pabloelcolombiano](/maintainers/pabloelcolombiano)

---

Top Contributors

[![pabloelcolombiano](https://avatars.githubusercontent.com/u/23249541?v=4)](https://github.com/pabloelcolombiano "pabloelcolombiano (452 commits)")[![LordSimal](https://avatars.githubusercontent.com/u/9105243?v=4)](https://github.com/LordSimal "LordSimal (17 commits)")[![ishanvyas22](https://avatars.githubusercontent.com/u/17404636?v=4)](https://github.com/ishanvyas22 "ishanvyas22 (9 commits)")[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (8 commits)")[![liqueurdetoile](https://avatars.githubusercontent.com/u/28799444?v=4)](https://github.com/liqueurdetoile "liqueurdetoile (5 commits)")[![ckbx-cakebox](https://avatars.githubusercontent.com/u/21092903?v=4)](https://github.com/ckbx-cakebox "ckbx-cakebox (5 commits)")[![dreamingmind](https://avatars.githubusercontent.com/u/1307216?v=4)](https://github.com/dreamingmind "dreamingmind (4 commits)")[![jsm222](https://avatars.githubusercontent.com/u/4705090?v=4)](https://github.com/jsm222 "jsm222 (4 commits)")[![Erwane](https://avatars.githubusercontent.com/u/712604?v=4)](https://github.com/Erwane "Erwane (1 commits)")[![mbamarante](https://avatars.githubusercontent.com/u/409833?v=4)](https://github.com/mbamarante "mbamarante (1 commits)")[![MolbioUnige](https://avatars.githubusercontent.com/u/27211819?v=4)](https://github.com/MolbioUnige "MolbioUnige (1 commits)")[![o0h](https://avatars.githubusercontent.com/u/907122?v=4)](https://github.com/o0h "o0h (1 commits)")

---

Tags

cakephpfixture-factoriestest-fixturesfixturescakephptestsdynamic

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pakacuda-cakephp-fixture-factories/health.svg)

```
[![Health](https://phpackages.com/badges/pakacuda-cakephp-fixture-factories/health.svg)](https://phpackages.com/packages/pakacuda-cakephp-fixture-factories)
```

###  Alternatives

[vierge-noire/cakephp-fixture-factories

CakePHP Dynamic Fixtures

84858.8k9](/packages/vierge-noire-cakephp-fixture-factories)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[dama/doctrine-test-bundle

Symfony bundle to isolate doctrine database tests and improve test performance

1.2k37.2M143](/packages/dama-doctrine-test-bundle)[liip/test-fixtures-bundle

This bundles enables efficient loading of Doctrine fixtures in functional test-cases for Symfony applications

1798.3M42](/packages/liip-test-fixtures-bundle)[thedoctor0/laravel-factory-generator

Automatically generate Laravel factories for your models.

214997.4k1](/packages/thedoctor0-laravel-factory-generator)

PHPackages © 2026

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