NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #560 most downloaded on Packagist
Laravel Testing Helper for Packages Development
Latest stable
v11.3.0
Last release 1 months ago
24 Sep 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
440 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Update minimum support for Testbench Core v8.29.0+. (v8.28.3...v8.29.0)
Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlink class.Orchestra\Testbench\Concerns\InteractsWithMockery trait.--database option to package:create-sqlite-db command.--database and --all options to package:drop-sqlite-db command.Orchestra\Testbench\php_binary() function.laravel/serializable-closure 2.resolveApplicationResolvingCallback() method visibility from private to protected.package:create-sqlite-db.PHP_CLI_SERVER_WORKERS via Composer Script.CTRL+C and CTRL+BREAK supports on Windows without pcntl extension.Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile should be able to handle $from and $to when given as false or null.Update minimum support for Testbench Core v8.28.3+. (v8.28.2...v8.28.3)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
shouldSeed() exists and return false.Update minimum support for Testbench Core v8.28.2+. (v8.28.1...v8.28.2)
SIGHUP, SIGUSR1, and SIGUSR2 signals via Testbench CLI.serve command to reset published .env and testbench.yaml.Deprecated Orchestra\Testbench\laravel_migration_path(), use default_migration_path() instead.
markTestSkippedWhen() and markTestSkippedUnless() assertion helper to conditionally handle markTestSkipped().Orchestra\Testbench\default_migration_path() helper function.Orchestra\Testbench\laravel_vendor_exists() helper function.vendor symlink directory if it was created while running tests.view.paths configuration not being updated to include workbench/resources/views due to IoC booting sequence.Orchestra\Testbench\laravel_migration_path(), use default_migration_path() instead.Update minimum support for Testbench Core v8.27.0+. (v8.26.0...v8.27.0)
artisan binary to Laravel skeleton.Orchestra\Testbench\join_paths() function.Orchestra\Testbench\Attributes\UsesVendor attribute class.defineStashRoutes() method to register adhoc route for test.Orchestra\Testbench\default_skeleton_path(), Orchestra\Testbench\package_path(), and Orchestra\Testbench\workbench_path() usage based on new Orchestra\Testbench\join_paths() function.Update minimum support for Testbench Core v8.26.0+. (v8.25.0...v8.26.0)
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile to remove .gitkeep file when directory contain one or more files.InteractsWithPublishedFiles should only flush published files within database/migrations directory.Update minimum support for Testbench Core v8.25.0+. (v8.24.3...v8.25.0)
Orchestra\Testbench\Attributes\ResolvesLaravelOrchestra\Testbench\Attributes\UsesFrameworkConfigurationfactories using Workbench to map Workbench\App\Models to Workbench\Database\Factories classes.workbench/app/Console/Commands.JsonSerializable to Orchestra\Testbench\Foundation\UndefinedValue.workbench as default environment value.Orchestra\Testbench\Attributes\Define and Orchestra\Testbench\Attributes\DefineEnvironment to be used on the class level by @danjohnson95usesTestingFeature() attribute registration is loaded before class attributes instead of method attributes.Update minimum support for Testbench Core v8.24.3+. (v8.24.2...v8.24.3)
Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler() usage to detect Workbench\App\Exceptions\Handler class.Update minimum support for Testbench Core v8.24.2+. (v8.24.0...v8.24.2)
Orchestra\Testbench\package_path() function instead of TESTBENCH_WORKING_PATH constant.Orchestra\Testbench\Attributes\RequiresLaravel attribute usage.Update minimum support for Testbench Core v8.24.0+. (v8.23.9...v8.24.0)
TESTBENCH_WORKING_PATH from environment variable before fallback to getcwd().Update minimum support for Testbench Core v8.23.9+. (v8.23.5...v8.23.9)
Orchestra\Testbench\remote to accept $env with either array or string.TESTBENCH_PACKAGE_REMOTE=true when running command using Orchestra\Testbench\remote.workbench environment variable when Testbench CLI is used outside of testing.serve command.runningInUnitTests() returning true when not running tests via Testbench CLI.Update minimum support for Testbench Core v8.23.5+. (v8.23.4...v8.23.5)
RefreshDatabase to be executed on tearDown() only limited when ad-hoc migrations was added during test.Update minimum support for Testbench Core v8.23.4+. (v8.23.0...v8.23.4)
ResetRefreshDatabaseState via tearDownTheTestEnvironmentUsingTestCase() method.RefreshDatabaseState::$migrated and RefreshDatabaseState::$lazilyRefreshed before loading migration paths to the instance of migrator.beforeApplicationDestroyed() usage on loadLaravelMigrations() method.RefreshDatabase usage does not reset the database migrations between tests.class_implements(): Class AllowDynamicProperties does not exist and could not be loaded error on PHP 8.1 and lower.Update minimum support for Testbench Core v8.23.0+. (v8.21.1...v8.23.0)
Orchestra\Testbench\Attributes\RequiresLaravel attribute.Orchestra\Testbench\Foundation\Env::has() method.Orchestra\Testbench\load_migration_paths() function.Orchestra\Testbench\once() function.usesRefreshDatabaseTestingConcern() helper method to Orchestra\Testbench\Concerns\InteractsWithTestCase trait.MYSQL_*, MSSQL_*, SQLITE_* and POSTGRES_* environment variables before trying to override the configuration values.$command to Orchestra\Testbench\remote() function using array instead of just string.Orchestra\Testbench\default_skeleton_path()Orchestra\Testbench\package_path()Orchestra\Testbench\workbench_path()Orchestra\Testbench\Attributes\ResetRefreshDatabaseState attribute declaration to only Attribute::TARGET_CLASS.Update minimum support for Testbench Core v8.21.1+. (v8.21.0...v8.21.1)
$router->getRoutes()->refreshActionLookups() caused tests to fail.Update minimum support for Testbench Core v8.21.0+. (v8.20.0...v8.21.0)
Orchestra\Testbench\Attributes\WithImmutableDates attribute to force Illuminate\Support\Date to use Carbon\CarbonImmutable.Orchestra\Testbench\default_skeleton_pathOrchestra\Testbench\refresh_router_lookupsUpdate minimum support for Testbench Core v8.20.0+. (v8.19.0...v8.20.0)
laravel/framework to 10.40.0.Orchestra\Testbench\Bootstrap\HandleExceptions::forgetApp() for PHPUnit 10.route:cache using Orchestra\Testbench\remote function.setUpTheTestEnvironmentTraitToBeIgnored method:
Orchestra\Testbench\Concerns\InteractsWithPestOrchestra\Testbench\Concerns\InteractsWithTestCaseAdded support for LOG_DEPRECATIONS_WHILE_TESTING (default to true) environment variables.
Orchestra\Testbench\Features\TestingFeature as replacement to HandlesTestingFeature trait.LOG_DEPRECATIONS_WHILE_TESTING (default to true) environment variables.Orchestra\Testbench\Contracts\Attributes\AfterAllOrchestra\Testbench\Contracts\Attributes\AfterEachOrchestra\Testbench\Contracts\Attributes\BeforeAllOrchestra\Testbench\Contracts\Attributes\BeforeEachlaravel/framework to 10.39.0.Orchestra\Testbench\Concerns\InteractsWithPHPUnit.Illuminate\Filesystem\join_paths function.Orchestra\Testbench\Concerns\HandlesTestingFeature trait.Update minimum support for Testbench Core v8.18.0+. (v8.17.0...v8.18.0)
Orchestra\Testbench\Attributes\RequiresEnv attribute to force an environment variables to be required for the test.Orchestra\Testbench\Attributes\WithConfig attribute add a configuration value for the test.Orchestra\Testbench\Attributes\WithEnv attribute add an environment variable value for the test.set() and forget() methods to Orchestra\Testbench\Foundation\Env.orchestra/pest-plugin-testbench.Update minimum support for Testbench Core v8.17.0+. (v8.16.0...v8.17.0)
discovers.components configuration.view.paths configuration when Workbench discover views.Deprecate Orchestra\Testbench\Concerns\Database\HandlesConnections trait.
Orchestra\Testbench\Attributes\ResetRefreshDatabaseState attribute to force refreshing database before executing the test.Orchestra\Testbench\Foundation\Bootstrap\SyncDatabaseEnvironmentVariables bootstrap class and allow database collation to be configurable via environment variables using MYSQL_COLLATION, POSTGRES_COLLATION and MSSQL_COLLATION.encode() method to Orchestra\Testbench\Foundation\Env class.defer when using Orchestra\Testbench\Attributes\DefineDatabase.#[Override] attribute to relevant methods, this require symfony/polyfill-php83 as backward compatibility for PHP 8.1 and 8.2.$setupHasRun property to Orchestra\Testbench\Concerns\ApplicationTestingHooks.Orchestra\Testbench\Concerns\Database\HandlesConnections trait.Update minimum support for Testbench Core v8.15.0+. (v8.14.4...v8.15.0)
laravel, cache, notifications, queue and session database migrations using Orchestra\Testbench\Attributes\WithMigration.Orchestra\Testbench\defined_environment_variables() function.Orchestra\Testbench\laravel_migration_path() function.Orchestra\Testbench\remote() function.@api:
Orchestra\Testbench\Foundation\ApplicationOrchestra\Testbench\Foundation\ConfigOrchestra\Testbench\Foundation\EnvOrchestra\Testbench\PHPUnit\AttributeParser.Update minimum support for Testbench Core v8.14.4+. (v8.14.0...v8.14.4)
Deprecate Orchestra\Testbench\Concerns\WithFactories.
Orchestra\Testbench\Workbench\Workbench to handle integrations with Workbench.Orchestra\Testbench\Foundation\Config::getWorkbenchDiscoversAttributes() method.Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile trait.Orchestra\Testbench\Foundation\Application:
make()makeFromConfig()createFromConfig()@define-env and @environment-setup will be replaced with Orchestra\Testbench\Attributes\DefineEnvironment.@define-db will be replaced with Orchestra\Testbench\Attributes\DefineDatabase.@define-route will be replaced with Orchestra\Testbench\Attributes\DefineRoute.Orchestra\Testbench\package_path() and Orchestra\Testbench\workbench_path().Orchestra\Testbench\Concerns\WithFactories.Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench, use Orchestra\Testbench\Workbench\Workbench::start() or Orchestra\Testbench\Workbench\Workbench::startWithProviders() instead.Update minimum support for Testbench Core v8.13.0+. (v8.12.0...v8.13.0)
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables class as @internal.Add support for Workbench 0.5.0+.
Support Laravel Framework 10.26.
10.26.Support Laravel Framework 10.25.
10.25.Update minimum support for Testbench Core v8.12.0+. (v8.11.1...v8.12.0)
cachedConfigurationForWorkbench() to Orchestra\Testbench\Concern\InteractsWithWorkbench trait.TESTBENCH_WORKING_PATH from environment variables for Testbench Dusk usage.discovers configuration.usesSqliteInMemoryDatabaseConnection to Orchestra\Testbench\Concerns\HandlesDatabases trait.Support Laravel Framework 10.24.
10.24.Update minimum support for Laravel Framework 10.23.1.
10.23.1.Orchestra\Testbench\Concerns\InteractsWithPublishedFiles trait:
assertMigrationFileExists.assertMigrationFileNotExists.Orchestra\Testbench\Concerns\InteractsWithPublishedFiles trait:
cleanUpFiles to cleanUpPublishedFiles.cleanUpMigrationFiles to cleanUpPublishedMigrationFiles.getMigrationFile to findFirstPublishedMigrationFile.Support Laravel Framework 10.23.
10.23.Support Laravel Framework 10.22.
10.22.Support Laravel Framework 10.21.
10.21.Orchestra\Testbench\Concerns\WithLaravelMigrations.Orchestra\Testbench\Foundation\Console\Actions\DeleteFilesOrchestra\Testbench\Foundation\Console\Actions\DeleteDirectoriesOrchestra\Testbench\Foundation\Console\Actions\EnsureDirectoryExistsOrchestra\Testbench\Foundation\Console\Actions\GeneratesFileSupport Laravel Framework 10.20.
10.20.$model property override when extending Orchestra\Testbench\Factories\UserFactory.Update minimum support for Testbench Core v8.9.0+. (v8.8.3...v8.9.0)
workbench.welcome configuration option.testbench.yaml configuration fallback similar to .env.Illuminate\Support\LazyCollection.Orchestra\Workbench\WorkbenchServiceProvider when applying Orchestra\Testbench\Concerns\WithWorkbench.Update minimum support for Testbench Core v8.8.3+. (v8.8.2...v8.8.3)
Orchestra\Testbench\Concerns\WithWorkbench.Readd deprecated Orchestra\Testbench\Foundation\Console\DevToolCommand for integration compatibility.
Orchestra\Testbench\Foundation\Console\DevToolCommand for integration compatibility.serve command under Composer's script.Orchestra\Testbench\Workbench classes and functionality is now provided from orchestra/workbench.Support Laravel Framework 10.19.
10.19.Update minimum support for Testbench Core v8.8.0+. (v8.7.0...v8.8.0)
package:purge-skeleton command.Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile trait.Orchestra\Testbench\package_path() function.orchestra/workbench.Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench to Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench.serve command usage.Update minimum support for Testbench Core v8.7.0+. (v8.6.2...v8.7.0)
Orchestra\Testbench\Foundation\Events\ServeCommandStartedOrchestra\Testbench\Foundation\Events\ServeCommandEndedOrchestra\Testbench\Workbench\Events\WorkbenchInstallStartedOrchestra\Testbench\Workbench\Events\WorkbenchInstallEndedHandlesRoutes loading sequence to match common Laravel bootstrap steps.HandlesAnnotations and InteractsWithPHPUnit traits.workbench configuration schema.Illuminate\Foundation\Application::runningUnitTests() detection.Update minimum support for Testbench Core v8.6.2+. (v8.6.1...v8.6.2)
app()->environment() detection when creating application Orchestra\Testbench\Concerns\CreatesApplication outside of PHPUnit.Undefined array key "autoload-dev" when executing workbench:install command.Update minimum support for Testbench Core v8.6.1+. (v8.6.0...v8.6.1)
Orchestra\Testbench\Concerns\InteractsWithPHPUnit to handle CreatesApplication within PHPUnit.workbench.start path when accessing the / route return 404.TESTBENCH_APP_BASE_PATH environment variable only when running under tests.Support Laravel Framework 10.18.
10.18.Deprecated package:devtool, package:create-sqlite-db and package:drop-sqlite-db commands.
/_workbench prefix.migrate:fresh and migrate:refreshOrchestra\Testbench\Contracts\Config to IoC Container and introduce the new Orchestra\Testbench\workbench and Orchestra\Testbench\workbench_path helper function.workbench:install, workbench:create-sqlite-db and workbench:drop-sqlite-db commands.Orchestra\Testbench\Concerns\WithWorkbench to automatically loads configuration from testbench.yaml when running tests.laravel/framework to 10.17.0.package:devtool, package:create-sqlite-db and package:drop-sqlite-db commands.Support Laravel Framework 10.17.
10.17.Support Laravel Framework 10.16.
10.16.Support Laravel Framework 10.15.
10.15.Bump minimum laravel/framework to 10.14.0.
laravel/framework to 10.14.0.Suspense support for Laravel Framework 10.14.
10.14.Bump minimum laravel/framework to 10.13.5.
laravel/framework to 10.13.5.Support Laravel Framework 10.14.
10.14.laravel/framework to 10.10.0.Support Laravel Framework 10.13.
10.13.Support Laravel Framework 10.12.
10.12.Support Laravel Framework 10.11.
10.11.Support Laravel Framework 10.10.
10.10.Support Laravel Framework 10.9.
10.9.Bump minimum laravel/framework to 10.8.0.
laravel/framework to 10.8.0.Orchestra\Testbench\after_resolving helper function.laravel/framework to 10.8.0.Update minimum support for Testbench Core v8.4.2+. (v8.4.0...v8.4.2)
10.1.Orchestra\Testbench\Concerns\Testing::setUpTheTestEnvironmentTraitToBeIgnored() as abstract method.Support Laravel Framework 10.7.
10.7.One column per quarter.