dereuromark / cakephp-fixture-factories
CakePHP Dynamic Fixtures
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 20
Type:cakephp-plugin
Requires
- php: >=8.2
- cakephp/orm: ^5.0
- vierge-noire/cakephp-test-suite-light: ^3.0
Requires (Dev)
- cakephp/bake: ^3.0.0
- cakephp/migrations: ^4.7.0
- cakephp/twig-view: ^2.0.2
- fakerphp/faker: ^1.23
- johnykvsky/dummygenerator: ^0.0.7
- josegonzalez/dotenv: ^4.0.0
- php-collective/code-sniffer: dev-master
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^10.5
- vimeo/psalm: ^6.0
This package is auto-updated.
Last update: 2025-08-19 18:47:34 UTC
README
CakePHP Fixture Factories
Write and run your tests faster. On any PHP application.
Note: This is a maintained fork of the original CakePHPFixtureFactories.
ArticleFactory::make(5) ->with('Authors[3].Address.City.Country') ->persist();
Installation
composer require --dev dereuromark/cakephp-fixture-factories
Content
-
Setup - DB Cleaning
-
Fixture Factories
-
Test Fixtures
-
Associations
-
Associations for non-CakePHP apps
-
Scenarios
-
Queries
-
Bake command
-
Persist command
-
Generator Abstraction
Resources
CakeFest 2021 - IPC-Berlin 2020 - CakeFest 2020
Contribute
Send PRs or tickets in GitHub.
Authors
Previously, Juan Pablo Ramirez and Nicolas Masson. This fork is maintained by Mark Scherer (dereuromark)
License
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.