This branch is for CakePHP 5.0+. See version map for details.
A maintained fork of vierge-noire/cakephp-fixture-factories with:
- Multiple data generators via adapters (Faker, DummyGenerator, custom).
- Modern configurable generator type guessing per field name/type when baking.
👉 dereuromark.github.io/cakephp-fixture-factories
The full guide, reference, and migration notes live there.
composer require --dev dereuromark/cakephp-fixture-factoriesArticleFactory::new()
->count(5)
->with('Authors[3].Address.City.Country')
->saveMany();Five articles, each with three authors, each with an address chain — persisted, in one expression.
See Getting Started for the full walkthrough.
CakeFest 2021 - IPC-Berlin 2020 - CakeFest 2020
Send PRs or tickets in GitHub.
Previously, Juan Pablo Ramirez and Nicolas Masson. This fork is maintained by Mark Scherer (dereuromark).
The CakePHPFixtureFactories plugin is offered under an MIT license.
Copyright 2023 Juan Pablo Ramirez and Nicolas Masson.
Licensed under The MIT License. Redistributions of files must retain the above copyright notice.