PHP Package: zenstruck/foundry
Zenstruck Foundry is a PHP library for creating test data objects easily and efficiently. It helps streamline the process of setting up data for testing purposes.
Package Description
Zenstruck Foundry is a powerful PHP library that simplifies the creation of test data objects. It offers a clean and efficient way to generate and manage test data, improving the overall testing process. With Foundry, developers can easily set up realistic data scenarios for comprehensive testing.
Download Latest Version: 2.6.0

Previous Versions
v1.38.6 - Coming soon
v2.3.8
v2.3.10 - Coming soon
v2.4.1 - Coming soon
v2.4.2 - Coming soon
v2.4.3 - Coming soon
v2.5.0
v2.5.1
v2.5.4
Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/zenstruck/foundry/2.6.0/loader.php';
require_once 'libs/zenstruck/foundry-dependency1/{lib_version}/loader.php';
require_once 'libs/zenstruck/foundry-dependency2/{lib_version}/loader.php';
use Zenstruck\Foundry\Factory;
use Zenstruck\Foundry\Repository;
$obj = new Factory();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.