zenstruck/foundry
Zenstruck Foundry is a Laravel-friendly factory and fixtures toolkit for building and persisting test data. Define model factories, create realistic related objects, seed databases, and write cleaner, faster tests with helpers for states, Faker, and repositories.
May 19th, 2026 - v2.10.0...v2.10.1
withoutDoctrineEvents should do nothgin in unit tests (#1121) by @VincentLangletMay 19th, 2026 - v2.9.2...v2.10.0
withoutDoctrineEvents() is called within flush_after() (#1111) by @nikophilwithoutDoctrineEvents() to suppress listeners during factory create (#1109) by @seb-jeanFebruary 17th, 2026 - v2.9.1...v2.9.2
February 8th, 2026 - v2.9.0...v2.9.1
February 4th, 2026 - v2.8.7...v2.9.0
Factories trait (#1067) (#1080) by @nikophilResetDatabase trait (#985) (#1080) by @nikophilFactories trait (#1066) (#1080) by @nikophilFactories trait and force PHPUnit extension usage (#968) (#1080) by @nikophilFebruary 3rd, 2026 - v2.8.6...v2.8.7
January 20th, 2026 - v2.8.5...v2.8.6
January 20th, 2026 - v2.8.4...v2.8.5
December 23rd, 2025 - v2.8.3...v2.8.4
December 22nd, 2025 - v2.8.2...v2.8.3
December 9th, 2025 - v2.8.1...v2.8.2
December 2nd, 2025 - v2.8.0...v2.8.1
November 9th, 2025 - v2.7.9...v2.8.0
#[AsFoudryHook] attribute (#986) by @nikophilNovember 7th, 2025 - v2.7.8...v2.7.9
November 5th, 2025 - v2.7.7...v2.7.8
October 23rd, 2025 - v2.7.6...v2.7.7
October 20th, 2025 - v2.7.5...v2.7.6
October 10th, 2025 - v2.7.4...v2.7.5
make:factory --test (#1000) by @ttskchrefresh_all() with flush_after() (#999) by @HypeMCOctober 8th, 2025 - v2.7.3...v2.7.4
October 5th, 2025 - v2.7.2...v2.7.3
September 25th, 2025 - v2.7.1...v2.7.2
September 24th, 2025 - v2.7.0...v2.7.1
September 17th, 2025 - v2.6.3...v2.7.0
August 28th, 2025 - v2.6.2...v2.6.3
August 5th, 2025 - v2.6.1...v2.6.2
July 29th, 2025 - v2.6.0...v2.6.1
foundry:load-stories to foundry:load-fixtures (#954) by @kbondrandomRangeOrCreate() method (#932) by @elliotbruneel, Elliot Bruneelphpunit w/o arguments (#933) by @kbondJune 5th, 2025 - v2.5.4...v2.6.0
June 4th, 2025 - v2.5.4...v2.5.5
May 31st, 2025 - v2.5.3...v2.5.4
FactoryCollection::create() when calling many with 0 (#925) by @jdecoolMay 30th, 2025 - v2.5.2...v2.5.3
May 26th, 2025 - v2.5.1...v2.5.2
May 22nd, 2025 - v2.5.0...v2.5.1
May 13th, 2025 - v2.4.3...v2.5.0
ZenstruckFoundryBundleTest (#878) (#901) by @silasjoisten, @nikophilMay 5th, 2025 - v2.4.2...v2.4.3
April 17th, 2025 - v2.4.1...v2.4.2
April 15th, 2025 - v2.4.0...v2.4.1
faker service (#877) by @silasjoistenApril 14th, 2025 - v2.3.2...v2.4.0
mt_rand instead of random_int (#869) by @kbond#[AsFoundryHook] / global event system (#871) by @nikophildistribute() method (#826) by @nikophilFebruary 25th, 2025 - v2.3.5...v2.3.6
February 24th, 2025 - v2.3.4...v2.3.5
February 14th, 2025 - v2.3.3...v2.3.4
February 1st, 2025 - v2.3.1...v2.3.2
#[RequiresPhpUnit] versions (#792) by @nikophilafterPersist hook the attributes from beforeInstantiate (#745) by @nikophil, @kbondMarch 31st, 2025 - v2.3.9...v2.3.10
December 12th, 2024 - v2.3.0...v2.3.1
December 11th, 2024 - v2.2.2...v2.3.0
#[WithStory] attribute (#728) by @nikophilNovember 5th, 2024 - v2.2.1...v2.2.2
October 31st, 2024 - v2.2.0...v2.2.1
RepositoryDecorator::inner() visibility to public (#714) by @marienfressinaudOctober 24th, 2024 - v2.1.0...v2.2.0
Factory::create() and factory service in data providers (#648) by @nikophilOctober 3rd, 2024 - v2.0.9...v2.1.0
September 2nd, 2024 - v2.0.8...v2.0.9
August 29th, 2024 - v2.0.7...v2.0.8
flush_after() return the callback's return (#691) by @HypeMCJuly 12th, 2024 - v2.0.6...v2.0.7
July 4th, 2024 - v2.0.5...v2.0.6
July 3rd, 2024 - v2.0.4...v2.0.5
June 20th, 2024 - v2.0.3...v2.0.4
June 19th, 2024 - v2.0.2...v2.0.3
June 14th, 2024 - v2.0.1...v2.0.2
June 10th, 2024 - v2.0.0...v2.0.1
Instantiator::allowExtra example (#616) by @norkunasJune 7th, 2024 - Initial Release
How can I help you explore Laravel packages today?