NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #844 most downloaded on Packagist
A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.
Latest stable
v2.16.0
Last release 13 days ago
09 Nov 2026
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
144 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
138801d chore: remove error handler hack (#729) by @nikophil cd9dbf5 refactor: extract reset:migration tests in another testsuite (#692) by @nikophil
138801d chore: remove error handler hack (#729) by @nikophil cd9dbf5 refactor: extract reset:migration tests in another testsuite (#692) by @nikophil
December 12th, 2024 - v2.3.0...v2.3.1
0867ad6 feat: add #[WithStory] attribute (#728) by @nikophil
0867ad6 feat: add #[WithStory] attribute (#728) by @nikophil
You can use the #[WithStory] attribute to load stories in your tests:
use App\Story\CategoryStory;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Zenstruck\Foundry\Attribute\WithStory;
// You can use the attribute on the class...
#[WithStory(CategoryStory::class)]
final class NeedsCategoriesTest extends KernelTestCase
{
// ... or on the method
#[WithStory(CategoryStory::class)]
public function testThatNeedStories(): void
{
// ...
}
}
If used on the class, the story will be loaded before each test method.
af64c35 fix: detect if relation is oneToOne (#732) by @nikophil c8f5046 fix: fix PHPUnit constraint requirement in FoundryExtension (#735) by @HypeMC 403d9e9 fix: Fix the parameter name of the first and last methods (#730) by @marien-probesys c5d0bdd fix: can create inversed one to one with non nullable (#726) by @nikophil f48ffd1 fix: can create inversed one to one (#659) by @nikophil 6d08784 fix: bug with one to many (#722) by @nikophil
b16b227 docs: Update index.rst (#740) by @OskarStark, @nikophil 854220f docs: fix highlighting and use CPP (#740) by @OskarStark dfe6bab tests: add paratest permutation (#736) by @nikophil 59867c3 tests: change versions requirements (#737) by @nikophil 4cb7447 docs: Typo in Immutable section (#731) by @franckranaivo 0e7ac6f docs: Fix Story phpdocs (#727) by @simondaigre, @nikophil efadea8 docs:fix code blocks not showing up (#723) by @AndreasA edf287e minor: Add templated types to flush_after (#719) by @BackEndTea
Your coding agent can read these notes before it upgrades. Set up the MCP server →
December 11th, 2024 - v2.2.2...v2.3.0
#[WithStory] attribute (#728) by @nikophil3282f24 Remove @internal from db resetter interfaces (#715) by @HypeMC 870cb42 docs: fix missing comma in upgrade doc (#718) by @justpilot
3282f24 Remove @internal from db resetter interfaces (#715) by @HypeMC 870cb42 docs: fix missing comma in upgrade doc (#718) by @justpilot
November 5th, 2024 - v2.2.1...v2.2.2
496a7a8 fix: Change RepositoryDecorator::inner() visibility to public (#714) by @marienfressinaud dfeb247 chore: test Foundry on PHP 8.4 & sf 7.2 (#70
496a7a8 fix: Change RepositoryDecorator::inner() visibility to public (#714) by @marienfressinaud
dfeb247 chore: test Foundry on PHP 8.4 & sf 7.2 (#709) by @nikophil
2b12ef0 chore: simplify CI matrix (#708) by @nikophil
October 31st, 2024 - v2.2.0...v2.2.1
RepositoryDecorator::inner() visibility to public (#714) by @marienfressinaud2014ed9 feature: allow to use Factory::create() and factory service in data providers (#648) by @nikophil
# Main features
## Factory::create() and factory service in data providers 2014ed9 feature: allow to use Factory::create() and factory service in data providers (#648) by @nikophil
From version 2.2, Foundry provides an extension for PHPUnit. You can install it by modifying you phpunit.xml.dist:
<bootstrap class="ZenstruckFoundryPHPUnitFoundryExtension"/>
</extensions>
</phpunit>
``` > [!WARNING] > This PHPUnit extension requires at least PHPUnit 11.4.
Using this extension will allow to use your factories in your data providers the same way you're using them in tests. Thanks to it, you can: - Call ->create() or ::createOne() or any other method which creates objects in unit tests
(using PHPUnitFrameworkTestCase) and functional tests (SymfonyBundleFrameworkBundleTestKernelTestCase)
Use "Factories as Services" in functional tests
Use faker() normally, without wrapping its call in a callable
## Make "database reset" mechanism extendable df568da refactor: make "database reset" mechanism extendable (#690) by @nikophil
The reset mechanism can now be extended thanks to decoration:
use SymfonyComponentDependencyInjectionAttributeAsDecorator; use SymfonyComponentDependencyInjectionAttributeWhen; use SymfonyComponentHttpKernelKernelInterface; use ZenstruckFoundryORMResetDatabaseOrmResetter;
// The decorator should be declared in test environment only. #[When('test')] // You can also decorate MongoResetter::class. #[AsDecorator(OrmResetter::class)] final readonly class DecorateDatabaseResetter implements OrmResetter {
- public function __construct(
private OrmResetter $decorated
) {}
public function resetBeforeFirstTest(KernelInterface $kernel): void {
// do something once per test suite (for instance: install a PostgreSQL extension)
$this->decorated->resetBeforeFirstTest($kernel);
}
public function resetBeforeEachTest(KernelInterface $kernel): void {
// do something once per test case (for instance: restart PostgreSQL sequences)
$this->decorated->resetBeforeEachTest($kernel);
}
}
```
## Add a Psalm Extension 0d570cc refactor: fix proxy system and introduce psalm extension (#704) by @nikophil
A Psalm extension is now shipped with the library and makes Psalm happy with your factories. You can enable it with:
$ vendor/bin/psalm-plugin enable zenstruck/foundry
# Minor PRs
a549c10 docs: using factories in data providers (#707) by @nikophil 470d927 docs: how to extend database reset mechanism (#706) by @nikophil 4fb0b25 docs: add missing docs (#703) by @nikophil fa1d527 minor: misc fixes for sca (#705) by @nikophil
[Full Change List](https://github.com/zenstruck/foundry/compare/v2.1.0...v2.2.0)
October 24th, 2024 - v2.1.0...v2.2.0
Factory::create() and factory service in data providers (#648) by @nikophil0f72ea5 fix: allow non object state in stories (#699) by @Brewal 6482357 feat: allow to configure migrations configuration files (#686) by @MatTheCat
0f72ea5 fix: allow non object state in stories (#699) by @Brewal 6482357 feat: allow to configure migrations configuration files (#686) by @MatTheCat
October 3rd, 2024 - v2.0.9...v2.1.0
b0a5d3d Fix Psalm TooManyTemplateParams (#693) by @ddeboer
b0a5d3d Fix Psalm TooManyTemplateParams (#693) by @ddeboer
September 2nd, 2024 - v2.0.8...v2.0.9
3eebbf9 Have flush_after() return the callback's return (#691) by @HypeMC 33d5870 doc: Fix range call instead of many (#688) by @ternel 33595b9 chore:
3eebbf9 Have flush_after() return the callback's return (#691) by @HypeMC
33d5870 doc: Fix range call instead of many (#688) by @ternel
33595b9 chore: add a wrapper for PHPUnit binary (#683) by @nikophil
8bf8c4c docs: Fix CategoryStory codeblock (#681) by @smnandre
f89d43e doc: Minor fixes (#679) by @smnandre
65c1cc2 fix: add phpdoc to improve proxy factories autocompletion (#675) by @nikophil
August 29th, 2024 - v2.0.7...v2.0.8
flush_after() return the callback's return (#691) by @HypeMC5c44991 fix: handle proxies when refreshing entity in Proxy::getState() (#672) by @nikophil 49f5e1d Fix faker php urls (#671) by @BackEndTea 7719b0d c
5c44991 fix: handle proxies when refreshing entity in Proxy::getState() (#672) by @nikophil 49f5e1d Fix faker php urls (#671) by @BackEndTea 7719b0d chore(CI): Enable documentation linter (#657) by @cezarpopa
July 12th, 2024 - v2.0.6...v2.0.7
52ca7b7 fix: only restore error handler for PHPUnit 10 or superior (#668) by @nikophil b5090aa docs: Fix broken link to Without Persisting (#660) by @
52ca7b7 fix: only restore error handler for PHPUnit 10 or superior (#668) by @nikophil b5090aa docs: Fix broken link to Without Persisting (#660) by @simoheinonen 35b0404 feat: re-add Proxy assertions (#663) by @nikophil
July 4th, 2024 - v2.0.5...v2.0.6
6105a36 fix: make proxy work with last symfony/var-exporter version (#664) by @nikophil e8623a3 [DOC] Fix Upgrade Guide URL Rendering (#654) by @cezar
6105a36 fix: make proxy work with last symfony/var-exporter version (#664) by @nikophil e8623a3 [DOC] Fix Upgrade Guide URL Rendering (#654) by @cezarpopa f7f133a fix: create ArrayCollection if needed (#645) by @nikophil 779bee4 fix: after_flush() can use objects created in global state (#653) by @nikophil 72e48bf tests(ci): add test permutation for PHPUnit >= 10 (#647) by @nikophil 1edf948 docs: fix incoherence (#652) by @nikophil 1c66e39 minor: improve repository assertion messages (#651) by @nikophil
July 3rd, 2024 - v2.0.4...v2.0.5
0989c5d fix: don't try to proxify objects that are not persistable (#646) by @nikophil 50ae3dc fix: handle contravariance problem when proxifying clas
0989c5d fix: don't try to proxify objects that are not persistable (#646) by @nikophil 50ae3dc fix: handle contravariance problem when proxifying class with unserialize method (#644) by @nikophil
June 20th, 2024 - v2.0.3...v2.0.4
6f0835f fix(2.x): only reset error handler in before class hook (#643) by @nikophil 3c31193 test: add test with multiple ORM schemas (#629) by @vincen
6f0835f fix(2.x): only reset error handler in before class hook (#643) by @nikophil 3c31193 test: add test with multiple ORM schemas (#629) by @vincentchalamon 303211a fix: unproxy args in proxy objects (#635) by @nikophil
June 19th, 2024 - v2.0.2...v2.0.3
b76c294 fix(2.x): support Symfony 7.1 (#622) by @nikophil 9cd97b7 docs: Improve DX for tests (#636) by @matthieumota 17b0228 fix(2.x): add back second
b76c294 fix(2.x): support Symfony 7.1 (#622) by @nikophil 9cd97b7 docs: Improve DX for tests (#636) by @matthieumota 17b0228 fix(2.x): add back second parameter for after persist callbacks (#631) by @nikophil 0c7b3af docs: Fix typo in the upgrade guide (#624) by @stof 933ebbd docs: upgrade readme with a link to upgrade guide (#620) by @nikophil
June 14th, 2024 - v2.0.1...v2.0.2
5f0ce76 Fix Instantiator::allowExtra example (#616) by @norkunas c2cbcbc fix(orm): reset database instead of dropping the schema when using migrations
5f0ce76 Fix Instantiator::allowExtra example (#616) by @norkunas
c2cbcbc fix(orm): reset database instead of dropping the schema when using migrations (#615) by @vincentchalamon
June 10th, 2024 - v2.0.0...v2.0.1
Instantiator::allowExtra example (#616) by @norkunasPlease follow the migration guide in order to upgrade to v2.
Please follow the migration guide in order to upgrade to v2.
1393c13 docs: update docs for foundry v2 (#613) by @nikophil 0034c78 feat(2.x, make:facotry): add phpdoc conditionnally with --with-phpdoc option (#611) by @nikophil a3ec473 fix: prevent refresh error with autorefresh (#610) by @nikophil ca8258a minor(make:factory): default false for ODM mapping (#605) by @nikophil df5bb6b minor(2.x): remove APP_ENV=test from phpunit.xml (#603) by @nikophil 0479ddf fix(2.x): allow sequence with associative arrays (#595) by @nikophil d1509fb fix(2.x): support readonly entities (#599) by @nikophil 2c8e048 feat(2.x): allow to configure default namespace fo make:factory (#600) by @nikophil 9174dc6 fix: restore PHPUnit error handler (#587) by @nikophil 4156302 tests: asserts story works without persistence (#589) by @nikophil ec2c895 minor: add phpunit attributes (#576) by @nikophil 90cc839 feat(sequence): sequence attributes should be compatible with 1.x (#575) by @nikophil 60ec275 fix: sqlite with orm v2 (#574) by @kbond ae82186 feat: compatibility with ORM v3 (#572) by @nikophil, @kbond 624e8d2 feat: foundry 2.0 🎉 by @nikophil e74f6b9 fix(rector) second argument for many() is optional (#515) by @nikophil a555474 fix(rector): repository method is static (#515) by @nikophil 53f25a2 rector: rewrite phpdoc (#571) by @nikophil ecbc615 refactor: Foundry 2 BC layer (#515) by @nikophil
e15a489 minor: fix compatibility with 4 (#864) by @nikophil
e15a489 minor: fix compatibility with 4 (#864) by @nikophil
da4d4db minor: allow doctrine/persistence 4.x (#856) by @kbond
da4d4db minor: allow doctrine/persistence 4.x (#856) by @kbond
dcf09e8 minor: add unproxy function (#776) by @nikophil 8037756 doc: fix docblock typo (#670) by @kbond
dcf09e8 minor: add unproxy function (#776) by @nikophil 8037756 doc: fix docblock typo (#670) by @kbond
112e3a6 fix: only restore error handler for PHPUnit 10 or superior (#669) by @nikophil bad65a2 fix(1.x): re-introduce Proxy assertion methods (#665) b
112e3a6 fix: only restore error handler for PHPUnit 10 or superior (#669) by @nikophil bad65a2 fix(1.x): re-introduce Proxy assertion methods (#665) by @nikophil
841bb70 fix(1.x): only reset error handler in before class hook (#642) by @nikophil
841bb70 fix(1.x): only reset error handler in before class hook (#642) by @nikophil
2691d99 fix: handle when userland factory has empty constructor (#641) by @nikophil 1227d11 docs(1.x): fix typo in upgrade guide (#625) by @nikophil 7
2691d99 fix: handle when userland factory has empty constructor (#641) by @nikophil 1227d11 docs(1.x): fix typo in upgrade guide (#625) by @nikophil 74fe2d6 docs: upgrade readme with a link to upgrade guide (#621) by @nikophil
b3adc86 docs(v1): improve upgrade guide (#614) by @nikophil 691741f doc: update (#594) by @kbond, @nikophil 431afa3 minor(make:factory): default false
b3adc86 docs(v1): improve upgrade guide (#614) by @nikophil
691741f doc: update (#594) by @kbond, @nikophil
431afa3 minor(make:factory): default false for embedded and targetDocument mappings (#602) by @melkamar
6102488 fix(1.x): support entities with readonly properties (#598) by @nikophil
5af3f0f feat: Configure default_namespace for make_story (#592) by @dmitryuk, a.dmitryuk
00e6b86 fix(rector): misc fixes in rector rules (#586) by @nikophil
afad017 fix: can use ObjectFactories as service (#585) by @nikophil
b66ed4c fix: restore factory collection type (#584) by @nikophil
7cfab99 fix: restore error handler in Foundry's traits (#577) by @nikophil
d55c728 fix(sca): fix type system with legacy FactoryCollection (#583) by @nikophil
d38568f docs: typo fixes (#578) by @jrushlow
bbcef6a refactor: add a BC layer for 2.x (#515) by @nikophil
4a9b00e feat: support doctrine/orm 3 (#569) by @nikophil 68148e1 use phpunit attributes (#562) by @jrushlow f803868 fix: only run maker test on php >
4a9b00e feat: support doctrine/orm 3 (#569) by @nikophil
68148e1 use phpunit attributes (#562) by @jrushlow
f803868 fix: only run maker test on php > 8.0 (#570) by @nikophil
669bc2d chore: drop SF 6.3 from matrix (#558) by @kbond
cf87b97 minor: add sqlite to CI (#557) by @kbond
8ea43d5 minor: add Symfony 7.0 to the test matrix (#539) by @kbond 4c4d099 minor: update psalm (#539) by @kbond c9ddf74 minor: update/fix phpstan issu
8ea43d5 minor: add Symfony 7.0 to the test matrix (#539) by @kbond
4c4d099 minor: update psalm (#539) by @kbond
c9ddf74 minor: update/fix phpstan issues (#539) by @kbond
de3b26e minor: allow dama/doctrine-test-bundle 8.x (#539) by @kbond
a1a22ce doc: fix memoize example (#526) by @kbond
b7c0cb7 minor(ci): remove mysql/no-dama from matrix (#521) by @kbond
e41bbe8 doc: add warning about complex global state performance (#520) by @kbond
81eb3b8 doc: add section on paratestphp/paratest (#520) by @kbond
8666777 doc: adjust test performance section (#520) by @kbond
a0bbf5b fix: phpunit xsd path (#520) by @kbond
ed0cd7b chore: remove Makefile (#513) by @nikophil
5ffa1cd minor: allow Symfony 7.0 (#509) by @kbond 925eab3 fix: proxy should not try to refresh when persist is disabled (#508) by @nikophil e8b3ff5 fe
5ffa1cd minor: allow Symfony 7.0 (#509) by @kbond 925eab3 fix: proxy should not try to refresh when persist is disabled (#508) by @nikophil e8b3ff5 feat: allow stories to call their own pool (#506) by @nikophil 881280e docs: Move note about immutability into States section (#504) by @pavelmaca d6eb810 doc: fix typo (#502) by @ternel 131517a minor: flag repo as dev-dependency for composer (#501) by @Chris53897, @Chris8934 4da5628 fix: replace doctrine:query:sql with dbal:run-sql (#492) by @KDederichs
342a2c9 feat: disable persist globally (#488) by @nikophil fbccdd3 fix: do not flush global state twice when dama is not enabled (#489) by @nikophil
342a2c9 feat: disable persist globally (#488) by @nikophil fbccdd3 fix: do not flush global state twice when dama is not enabled (#489) by @nikophil
2433482 minor: set Factory::isPersisting() protected (#486) by @nikophil b86ca0a fix: deprecated code in StubCommand (#485) by @kbond
2433482 minor: set Factory::isPersisting() protected (#486) by @nikophil
b86ca0a fix: deprecated code in StubCommand (#485) by @kbond
850858e feat(lazy): Add memoized LazyValue (#475) by @ndench, @kbond 6d2c7ce fix: maker with cs fixer (#476) by @nikophil b6b6501 Fix a missing parent
850858e feat(lazy): Add memoized LazyValue (#475) by @ndench, @kbond 6d2c7ce fix: maker with cs fixer (#476) by @nikophil b6b6501 Fix a missing parenthesis in docs (#470) by @jmsche
98eca98 tests: can create object with fields name different from construct (#466) by @nikophil b48399d feat: drop all connections before dropping db f
98eca98 tests: can create object with fields name different from construct (#466) by @nikophil b48399d feat: drop all connections before dropping db for postgres (#458) by @nikophil c2719d1 dependencies: bump faker to 1.10 (#464) by @nikophil a5ed31c feat: allow setters as factory attribute (#457) by @nikophil
27b4d7f feat: allow ModelFactory::findOrCreate() in unit tests (#461) by @nikophil 68c6a5e ci: add Symfony 6.3 to test matrix (#459) by @kbond 912f134
27b4d7f feat: allow ModelFactory::findOrCreate() in unit tests (#461) by @nikophil 68c6a5e ci: add Symfony 6.3 to test matrix (#459) by @kbond 912f134 fix: makefile minor fixes (#451) by @nikophil d8fafed minor: improve makefile (#449) by @nikophil 9cce6dc docs: add static ide hint to stories (#448) by @adrianrudnik
ac35acf fix: nested factories not persisting should not throw error (#444) by @nikophil d346c68 feat: Have delayFlush return the callback's return (#4
ac35acf fix: nested factories not persisting should not throw error (#444) by @nikophil d346c68 feat: Have delayFlush return the callback's return (#442) by @HypeMC
c31d653 fix(RepositoryProxy::find()): allow not entity object in (#441) by @nikophil
c31d653 fix(RepositoryProxy::find()): allow not entity object in (#441) by @nikophil
2f71013 fix: allow any object passed as find() criteria (#440) by @nikophil
2f71013 fix: allow any object passed as find() criteria (#440) by @nikophil
fba0933 fix: regression from embedded object in findOrCreate function (#438) by @nicolasne, Nicolas Nénon, @kbond
fba0933 fix: regression from embedded object in findOrCreate function (#438) by @nicolasne, Nicolas Nénon, @kbond
c5ca551 refactor: deprecate AnonymousFactory class and factory() helper (#436) by @nikophil 837dbf6 fix(global state): register story as service in St…
c5ca551 refactor: deprecate AnonymousFactory class and factory() helper (#436) by @nikophil
837dbf6 fix(global state): register story as service in StoryManager (#434) by @nikophil
230f75e feat: findOrCreate() can use embeddables (#432) by @nikophil
cacf9ea minor: add conflict for doctrine/mongodb-odm for false deprecation (#435) by @kbond
6cc9541 fix: running array_values() on array attribute (#435) by @kbond
083a9b9 bug: add failing test for attribute that is array (#435) by @kbond
0094f09 refactor: simplify atrtibutes normalization (#423) by @nikophil
d8a94ce doc: Add introduction to index.rst for symfony.com accessibility (#429) by @GromNaN
041b597 feat: add LazyValue to calculate attribute values only when needed (#427) by @kbond, @mpdude 5f4f679 feat(bundle): allow registering custom Fa
041b597 feat: add LazyValue to calculate attribute values only when needed (#427) by @kbond, @mpdude
5f4f679 feat(bundle): allow registering custom Faker Providers (#425) by @kbond
b0bd5cb fix: restore Factory::$cascadePersist (#424) by @nikophil
f8db2af minor: remove Factory::$cascadePersist (#422) by @nikophil
edcd083 fix(doc): return type syntax (#420) by @benblub, @OskarStark
bfb1134 feat: validate generate factory with static analysis (#419) by @nikophil
a7502e7 docs: show how to document magic methods in stories (#418) by @nikophil
bbc3b62 fix(ci): don't run fixcs/sync-with-template on forks (#417) by @kbond
c409dc7 minor(ci): drop testing unsupported Symfony versions (6.0/6.1) (#417) by @kbond
626acba fix: foundry should work witout maker bundle (#416) by @nikophil
0ff998a chore: migrate phpunit config-file (dama) for phpunit 9 format (#413) by @Chris53897, @Chris8934
30e0bdb feat(make:factory): match directory/namespace structure (#411) by @nikophil
a6d5ead docs: Replace annotations with attributes in docs (#412) by @ker0x
…0a4b4ec feat: drop support of symfony 4, remove deprecation for console/command (#398) by @Chris53897, @Chris8934 467f62f feat(make:factory): handle n…
e54c757 fix: remove type in closure in RepositoryProxy::proxyResult() (#410) by @nikophil 6f54bbb chore: easy way to require lowest deps (#407) by @nikophil 0a4b4ec feat: drop support of symfony 4, remove deprecation for console/command (#398) by @Chris53897, @Chris8934 467f62f feat(make:factory): handle name collision (#402) by @nikophil 1c96c86 chore: migrate phpunit config-file for phpunit 9 format (#404) by @Chris53897, @Chris8934 aac5aba docs: fix spelling of annotations in CHANGELOG.md (#403) by @Chris53897, @Chris8934 2875dd7 feat(make:factory): list embeddables (#400) by @nikophil 3a40f1a minor: meaningful error for faker in data provider (#399) by @nikophil 48398f1 feat(make:factory): default value for enum types (#393) by @nikophil 6cf06c4 tests: reactivate self deprecations (#392) by @nikophil
7b97ac2 feat: add $criteria param to RepositoryAssertions::empty() (#391) by @nikophil
7b97ac2 feat: add $criteria param to RepositoryAssertions::empty() (#391) by @nikophil
79913c3 feat: create parameter to RepositoryAssertions::count() methods (#390) by @nikophil 4df0f40 chore: improve makefile (#382) by @nikophil 49da6a
79913c3 feat: create parameter to RepositoryAssertions::count() methods (#390) by @nikophil 4df0f40 chore: improve makefile (#382) by @nikophil 49da6a0 feat(make:factory): use autocompletion for no persistence classes (#383) by @nikophil
…(#386) by @kbond d970d7a minor: Reference non deprecated method (#387) by @jongotlin 7ab0740 minor(story): make Story::getState() protected (#385) by…
b101604 fix: ci by @kbond
cc22eac chore: fix cs (#386) by @kbond
e0944bb chore(ci): sync meta files and automate cs fixer (#386) by @kbond
d970d7a minor: Reference non deprecated method (#387) by @jongotlin
7ab0740 minor(story): make Story::getState() protected (#385) by @kbond
9a6f28e chore: availability to chose php version (#376) (#381) by @nikophil
aaeb6cf doc: display downloads badge (#380) by @kbond
e4d5fcb chore(ci): test on PHP 8.2 (#361) by @kbond
555d547 chore: change test context with .env (#375) by @nikophil
2eb52ed feat(make:factory): auto create missing factories (#372) by @nikophil
6bc81b1 refactor: set all fixtures class name unique (#374) by @nikophil
892ed14 feat(make:factory): improve Doctrine default fields guesser (#364) by @nikophil
7b08360 doc: fix header (#370) by @seb-jean
6588804 dependencies: allow symfony/string 5.4 (#369) by @HypeMC 9e5450e docs: fix namespaces in global_state example (#366) by @OskarStark 917aba5 do
6588804 dependencies: allow symfony/string 5.4 (#369) by @HypeMC 9e5450e docs: fix namespaces in global_state example (#366) by @OskarStark 917aba5 docs: fix onfig value (#368) by @OskarStark 7773f7e docs: fix config key (#367) by @OskarStark
f5e9eae minor: use --no-persistence instead of --not-persisted (#365) by @nikophil 730c0d9 chore: rename service ids (#363) by @kbond 19acc72 feat: ad
f5e9eae minor: use --no-persistence instead of --not-persisted (#365) by @nikophil
730c0d9 chore: rename service ids (#363) by @kbond
19acc72 feat: add RepositoryProxy::inner() (#362) by @kbond
a003bac refactor(make:factory): split command with DefaultPropertiesGuesser (#357) by @nikophil
d8eca88 chore(ci): test on Symfony 6.2 (#359) by @kbond
20ac349 refactor(make:factory): use value object to render template (#354) by @nikophil
4e5f9d9 feat(make:factory): use factories to default non-nullable relationships (#351) by @nikophil, @benblub
8332956 feat: make Story::get() static (implies Story::load()->get()) (#253) by @kbond
b89bcff minor(make:factory): misc enhancements of maker (#345) by @nikophil
3cc95a5 minor: remove php 7.4 related tests (#349) by @nikophil
8a055b0 chore: fix docker cache (#350) by @nikophil
18ea4fb feat(make:factory): create factory for not-persisted objects (#343) by @nikophil
64786fc fix: typo in docs (#348) by @nikophil
1a98fc4 chore: Use composer 2.4 (#346) by @OskarStark
96c4cbe minor(make:factory): Use @see/@todo annoations (#344) by @OskarStark
cbeb2ce fix: adjust docblocks to remove PhpStorm errors (#341) by @kbond
cd1e394 fix: use orm limit length in factory (#294) by @MrYamous
b1d7ce3 [feature] add default for Mongo properties in (#340) by @nikophil
778607a [chore] use cache for docker CI (#339) by @nikophil
c662eb3 [feature] auto add phpstan annotations in make:factory (#338) by @nikophil
2bd046f [docs] sort phpstan-method annotations (#333) by @OskarStark
0460741 [docs] remove obsolete section (#335) by @nikophil
2c34baf [bug] Typos in Makefile (#330) by @OskarStark
65924b2 [bug] typos in docs (#331) by @OskarStark
6b48878 [chore] upgrade ci actions (#329) by @kbond
210faff [chore] use phpstan instead of psalm (#328) by @nikophil
51f1bc0 [refactor] modernize code with rector (#327) by @nikophil
8423b75 [chore] adjust .symfony.bundle.yaml for new branch (#325) by @kbond
5a05513 [feature] require php8+ (#327) by @kbond
…d120b1c [minor] fix bamarni/composer-bin-plugin deprecations (#313) by @kbond a3eefc1 [minor] remove branch alias (#313) by @kbond cf7d75e [minor] rem…
f43b067 [chore] clean up CI (#324) by @nikophil
3588274 [feature] Allow to use foundry without Doctrine (#323) by @nikophil
7598467 [feature] [remove bundleless usge] configure global state with config (#322) by @nikophil
e417945 [feature] [remove bundleless usge] use config instead of environment variables (#320) by @nikophil
cada0cf [feature] pass an index to FactoryCollection attributes (#318) by @nikophil
d120b1c [minor] fix bamarni/composer-bin-plugin deprecations (#313) by @kbond
a3eefc1 [minor] remove branch alias (#313) by @kbond
cf7d75e [minor] remove unneeded bin script (#310) by @kbond
cd42774 [feature] add make migrations (#309) by @nikophil
cb9a4ec [feature] add a docker stack (#306) by @nikophil
8d41ca8 [bug] discover relations with inheritance (#300) by @NorthBlue333 ae6bda2 [bug] multiple relationships with same entity (#302) by @NorthBlue33
8d41ca8 [bug] discover relations with inheritance (#300) by @NorthBlue333 ae6bda2 [bug] multiple relationships with same entity (#302) by @NorthBlue333
4fb5fb8 [feature] Introduce Sequences (#298) by @nikophil
4fb5fb8 [feature] Introduce Sequences (#298) by @nikophil
…(#295) by @Chris53897 4577ef4 [minor] Improve deprecation message for createMany() (#291) by @gazzatav, @kbond
3b105a7 [bug] Fix usage of faker dateTime in factory maker (#297) by @jmsche
0663f29 [doc] Fix code block docs about faker seed (#296) by @jmsche
b57d067 [doc] fix typo (#295) by @Chris53897
4577ef4 [minor] Improve deprecation message for createMany() (#291) by @gazzatav, @kbond
e02fbe1 [doc] update config for 5.4+ (#285) by @kbond 39258de [feature] add configuration option for faker generator seed (#285) by @kbond 1bd05ce [fe
e02fbe1 [doc] update config for 5.4+ (#285) by @kbond 39258de [feature] add configuration option for faker generator seed (#285) by @kbond 1bd05ce [feature] re-save created object after "afterPersist" events called (#279) by @kbond 195c815 [bug] Use DateTimeImmutable with immutable ORM types (#283) by @HypeMC
6009499 [feature] add Story::getPool() (#282) by @kbond
6009499 [feature] add Story::getPool() (#282) by @kbond
46de01a [feature] Handle variadic constructor arguments (#277) by @ndench f5d9177 [minor] use symfony/phpunit-bridge 6+ by @kbond 09b0ae2 [minor] fix
46de01a [feature] Handle variadic constructor arguments (#277) by @ndench f5d9177 [minor] use symfony/phpunit-bridge 6+ by @kbond 09b0ae2 [minor] fix sca by @kbond
2b2d2e7 [minor] allow doctrine/persistence 3 (#275) by @kbond 429466e [doc] add note about phpstan docblocks (#274) by @kbond, Jacob Dreesen
2b2d2e7 [minor] allow doctrine/persistence 3 (#275) by @kbond
429466e [doc] add note about phpstan docblocks (#274) by @kbond, Jacob Dreesen jacob@hdreesen.de
ff9e4ef [bug] fix embeddable support when used with file (ie xml) mapping (#271) by @kbond 40a5a1e [minor] support Symfony 6.1 (#267) by @kbond
ff9e4ef [bug] fix embeddable support when used with file (ie xml) mapping (#271) by @kbond 40a5a1e [minor] support Symfony 6.1 (#267) by @kbond
b9d2ed3 [feature] add Factory::delayFlush() (#84) by @kbond 91609b4 [minor] remove scrutinizer (#266) by @kbond 8117f40 [minor] allow dama/doctrine-te
b9d2ed3 [feature] add Factory::delayFlush() (#84) by @kbond
91609b4 [minor] remove scrutinizer (#266) by @kbond
8117f40 [minor] allow dama/doctrine-test-bundle 7.0 (#266) by @kbond
6052e81 [minor] Revert "[bug] fix global state with symfony/framework-bundle >= 5.4.6/6.0.6" (#260) by @kbond
…States (#231)" (#252) by @kbond 02cd0c8 [minor] deprecate Story:add() and add Story::addState() (#254) by @kbond 02609a9 [minor] add return type for s…
c131715 [bug] fix global state with symfony/framework-bundle >= 5.4.6/6.0.6 (#259) by @kbond
0edbea8 [minor] remove Symfony 5.3 from test matrix (#259) by @kbond
5768345 [feature] add Story "pools" (#252) by @kbond
be6b6c8 Revert "[feature] Allow any type for Story States (#231)" (#252) by @kbond
02cd0c8 [minor] deprecate Story:add() and add Story::addState() (#254) by @kbond
02609a9 [minor] add return type for stub command (deprecated in symfony 6) (#257) by @Chris53897, Christopher Georg christopher.georg@sr-travel.de
6977f3a [doc] Use UserPasswordHasherInterface instead of UserPasswordEncoderInterface (#255) by @zairigimad
01ebfab [feature] add an 'All' option to make:factory to create all missing factories (#247) by @abeal-hottomali
39fa8e2 [bug] ignore abstract classes in the maker (#249) by @abeal-hottomali
62eeb75 [minor] run php-cs-fixer on php 7.2 (#243) by @kbond
79261d6 [feature] MongoDB ODM Support (#153) by @kbond, @nikophil d97d895 [minor] fix psalm (#232) by @kbond fc74f26 [minor] add allow-plugins for com
79261d6 [feature] MongoDB ODM Support (#153) by @kbond, @nikophil d97d895 [minor] fix psalm (#232) by @kbond fc74f26 [minor] add allow-plugins for composer 2.2+ (#232) by @kbond
fb79022 [feature] Allow any type for Story States (#231) by @wouterj d6d7d52 [doc] update url (#230) by @bfoks 4915b61 [doc] Fix event hook argument n
fb79022 [feature] Allow any type for Story States (#231) by @wouterj d6d7d52 [doc] update url (#230) by @bfoks 4915b61 [doc] Fix event hook argument name (#229) by @Aeet, @kbond 7e13ed0 [doc] add note about how attributes are built (#228) by @gnito-org 552dc6f [doc] Correct spelling in index.rst (#226) by @gnito-org 50a91b9 [bug] Fix smallint generated Faker (#223) by @jmsche 68552a7 [doc] Document the MakeFactory all-fields option (#220) by @gnito-org 93a2f9c [feature] Add all-fields option to MakeFactory (#218) by @gnito-org
…@dependabot[bot] 433f9b2 [minor] allow symfony/deprecation-contracts 3+ by @kbond 2b10729 [minor] fix failing test by @kbond b3ce03f [minor] add void…
bf1cbc9 [minor] Bump symfony/http-kernel from 5.3.7 to 5.4.0 in /bin/tools/psalm (#217) by @dependabot[bot] 433f9b2 [minor] allow symfony/deprecation-contracts 3+ by @kbond 2b10729 [minor] fix failing test by @kbond b3ce03f [minor] add void return type (#176) by @seb-jean
46e968e [minor] add Symfony 6.0/PHP 8.1 support (#198) by @kbond
46e968e [minor] add Symfony 6.0/PHP 8.1 support (#198) by @kbond
676f00a [bug] disable migration transactions (#207) by @kbond c6df43d [ci] re-enable migration tests on php >= 8 (#207) by @kbond 2ef6c6a [ci] disable
676f00a [bug] disable migration transactions (#207) by @kbond c6df43d [ci] re-enable migration tests on php >= 8 (#207) by @kbond 2ef6c6a [ci] disable migration tests on php >= 8 (#206) by @kbond e29a008 [bug] fix maker auto-defaults with yaml driver (#205) by @domagoj-orioly c483b2e [ci] use reusable workflows where possible (#203) by @kbond 886204f [minor] adjust CI output by @kbond 63a956e [minor] use zenstruck/assert for assertions instead of phpunit (#182) by @kbond
477db0a [minor] install psalm as composer-bin tool (#199) by @kbond 6ced887 [minor] add Symfony 5.4 to test matrix (#197) by @kbond 6610c5d [bug] rena
477db0a [minor] install psalm as composer-bin tool (#199) by @kbond 6ced887 [minor] add Symfony 5.4 to test matrix (#197) by @kbond 6610c5d [bug] rename "rank" as it's a reserved keyword in mysql 8 (#197) by @kbond
One column per quarter.