dereuromark/cakephp-fixture-factories
最新稳定版本:1.1.1
Composer 安装命令:
composer require --dev dereuromark/cakephp-fixture-factories
包简介
CakePHP Dynamic Fixtures
README 文档
README
CakePHP Fixture Factories
Write and run your tests faster. On any PHP application.
Note: This is a maintained fork of the original CakePHPFixtureFactories.
Main differences:
- Supports multiple generators via adapters (chose your generator library).
- Modern configurable generator type guessing per field name/type when baking.
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.
统计信息
- 总下载量: 1.13k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-19