承接 dereuromark/cakephp-fixture-factories 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dereuromark/cakephp-fixture-factories

最新稳定版本:2.0.0-rc.1

Composer 安装命令:

composer require --dev dereuromark/cakephp-fixture-factories

包简介

A CakePHP plugin for creating test fixtures dynamically with factory pattern

README 文档

README

ff-logo

CakePHP Fixture Factories

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

Build Status Coverage Status Latest Stable Version Minimum PHP Version PHPStan Level 8 License Total Downloads Coding Standards

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.

📚 Documentation

👉 dereuromark.github.io/cakephp-fixture-factories

The full guide, reference, and migration notes live there.

Installation

composer require --dev dereuromark/cakephp-fixture-factories

Quick Example

ArticleFactory::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.

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.

统计信息

  • 总下载量: 12.74k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 7
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 22
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-08-19