vierge-noire / cakephp-fixture-factories
CakePHP Dynamic Fixtures
Installs: 525 470
Dependents: 5
Suggesters: 0
Security: 0
Stars: 85
Watchers: 6
Forks: 20
Open Issues: 18
Type:cakephp-plugin
Requires
- php: >=8.1
- cakephp/orm: ^5.0
- fakerphp/faker: ^1.15
- vierge-noire/cakephp-test-suite-light: ^3.0
Requires (Dev)
- cakephp/bake: ^3.0.0
- cakephp/cakephp-codesniffer: ^5.1
- cakephp/migrations: ^4.0.0
- josegonzalez/dotenv: ^4.0.0
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^10.1
- vimeo/psalm: ^5.0
- dev-main
- v3.1.0-rc.1
- v3.0.2
- v3.0.1
- v3.0
- v2.9.3
- v2.9.2
- v2.9.1
- v2.9
- v2.9.0-rc.1
- v2.8
- v2.8.0-rc.1
- v2.7.1
- v2.7
- v2.6
- v2.5.1
- v2.5
- v2.4
- 2.3.1
- v2.3
- v2.2.2
- v2.2.1
- v2.2
- v2.1.0
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0
- v1.7.1
- v1.5.1
- v1.5
- v1.4
- v1.3.1
- v1.3
- v1.2.2
- v1.2.1
- v1.2
- v1.1.0
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0
- v0.2.35
- v0.2.34
- v0.2.33
- v0.2.32
- v0.2.31
- v0.2.30
- v0.2.29
- v0.2.28
- v0.2.27
- v0.2.26
- v0.2.25
- v0.2.24
- v0.2.23
- v0.2.22
- v0.2.21
- v0.2.20
- 0.2.19
- v0.2.18
- v0.2.17
- v0.2.16
- v0.2.15
- v0.2.14
- v0.2.13
- v0.2.12
- v0.2.11
- v0.2.10
- v0.2.9
- v0.2.8
- v0.2.7
- v0.2.6
- v0.2.5
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.35
- v0.1.34
- v0.1.33
- v0.1.32
- v0.1.31
- v0.1.30
- v0.1.24
- v0.1.23
- v0.1.22
- v0.1.21
- v0.1.20
- v0.1.19
- v0.1.18
- v0.1.17
- v0.1.16
- v0.1.15
- v0.1.14
- v0.1.13
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- dev-cake4
- dev-+235_v3.1
- dev-next
- dev-cake5
- dev-fix_cake5_branch
- dev-+226_ignores-null-values
- dev-+212-fix-array-notation
- dev-+199-reduce-requirements
- dev-+186-Composer-require-no-DB-cleaner
- dev-+184_fix_psalm
- dev-fix-psalm
- dev-cake3
- dev-cake3_next
- dev-165-cake3-skip-setters
- dev-+157_cake3_Code-checker-should-check-and-fix-imports
- dev-+157_Code-checker-should-check-and-fix-imports
- dev-+155-cake3-use-display-field
- dev-+155-use-display-field
- dev-+126-TSL-2.4
- dev-+64-Create-a-findOrMake()-method
This package is auto-updated.
Last update: 2024-12-08 05:52:32 UTC
README
CakePHP Fixture Factories
Write and run your tests faster. On any PHP application.
ArticleFactory::make(5)->with('Authors[3].Address.City.Country')->persist();
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
-
Setup - DB Cleaning
-
Fixture Factories
-
Test Fixtures
-
Associations
-
Associations for non-CakePHP apps
-
Scenarios
-
Queries
-
Bake command
-
Persist command
Resources
CakeFest 2021 - IPC-Berlin 2020 - CakeFest 2020
Contribute
The development branch is named next
(CakePHP 4.x based). Send us your pull requests!
Support
Contact us at vierge.noire.info@gmail.com for professional assistance.
Authors
Juan Pablo Ramirez and Nicolas Masson
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.