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.
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.defer when using Orchestra\Testbench\Attributes\DefineDatabase.Orchestra\Testbench\Concerns\Database\HandlesConnections trait.Update minimum support for Testbench Core v6.42.0+. (v6.41.0...v6.42.0)
laravel, cache, notifications, queue and session database migrations using Orchestra\Testbench\Attributes\WithMigration.Orchestra\Testbench\Bootstrap\ConfigureRay class.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.Your coding agent can read these notes before it upgrades. Set up the MCP server →
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.@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() instead.Update minimum support for Testbench Core v6.40.0+. (v6.39.0...v6.40.0)
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables class as @internal.Update minimum support for Testbench Core v6.39.0+. (v6.38.0...v6.39.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.Update minimum support for Testbench Core v6.38.0+. (v6.37.1...v6.38.0)
Orchestra\Testbench\Concerns\WithLaravelMigrations.Update minimum support for Testbench Core v6.37.1+. (v6.37.0...v6.37.1)
Orchestra\Testbench\after_resolving helper function.Update minimum support for Testbench Core v6.37.0+. (v6.36.0...v6.37.0)
Orchestra\Testbench\after_resolving helper function.$model property override when extending Orchestra\Testbench\Factories\UserFactory.Update minimum support for Testbench Core v6.36.0+. (v6.35.1...v6.36.0)
workbench.welcome configuration option.testbench.yaml configuration fallback similar to .env.Update minimum support for Testbench Core v6.35.1+. (v6.35.0...v6.35.1)
Orchestra\Testbench\Concerns\WithWorkbench.Update minimum support for Testbench Core v6.35.0+. (v6.34.0...v6.35.0)
Orchestra\Testbench\package_path() function.Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench to Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench.boolean usage with Orchestra\Testbench\parse_environment_variables() function.Update minimum support for Testbench Core v6.34.0+. (v6.33.2...v6.34.0)
HandlesRoutes 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 v6.33.2+. (v6.33.1...v6.33.2)
app()->environment() detection when creating application Orchestra\Testbench\Concerns\CreatesApplication outside of PHPUnit.Update minimum support for Testbench Core v6.33.1+. (v6.33.0...v6.33.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.Update minimum support for Testbench Core v6.33.0+. (v6.32.0...v6.33.0)
/_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.Orchestra\Testbench\Concerns\WithWorkbench to automatically loads configuration from testbench.yaml when running tests.Update minimum support for Testbench Core v6.32.0+. (v6.31.1...v6.32.0)
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables to manage loading .env file during tests, backport from Testbench Core 8 releases.tearDownInteractsWithPublishedFiles() from setUpInteractsWithPublishedFiles() method.Update minimum support for Testbench Core v6.31.1+. (v6.31.0...v6.31.1)
Orchestra\Testbench\Foundation\Config::addProviders() usage.Orchestra\Testbench\transform_relative_path() logic.Update minimum support for Testbench Core v6.31.0+. (v6.30.0...v6.31.0)
Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArray class to handle loading migrations from testbench.yaml.
migrations: false in testbench.yaml or adding TESTBENCH_WITHOUT_DEFAULT_MIGRATIONS=(true) environment variable.testbench.yaml:
migrations: <bool|array>bootstrappers: <array>Orchestra\Testbench\parse_environment_variables() function.Orchestra\Testbench\transform_relative_path() function.env configuration from testbench.yaml with have higher priority than default_environment_variables().Dotenv\Repository\Adapter\PutenvAdapter when generating environment variable on the fly using Orchestra\Testbench\Foundation\Application.APP_KEY, APP_DEBUG etc.> Warning: Breaking change is possible if your package contains any traits with setup or teardown
Orchestra\Testbench\Foundation\Config to read Yaml file from testbench.yaml.Orchestra\Testbench\Foundation\Application::createVendorSymlink() method.
Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink.resolveApplicationEnvironmentVariables() method.setup<Concern> and teardown<Concern> with imported traits.8.83.26.Orchestra\Testbench\Concerns\HandlesRoutesOrchestra\Testbench\Console\CommanderOrchestra\Testbench\Foundation\ApplicationWarning: Breaking change is possible if your package contains any traits with
setup<TraitClassName>orteardown<TraitClassName>This version now will automatically run those methods during application bootstrap and terminate to be consistent with Laravel Framework implementations.
Update minimum support for Testbench Core v6.29.1+. (v6.29.0...v6.29.1)
bootstrap/cache/packages.php on vendor symlink event.Update minimum support for Testbench Core v6.29.0+. (v6.28.1...v6.29.0)
loadLaravelMigrationsWithoutRollback() and runLaravelMigrationsWithoutRollback() helpers.Update minimum support for Testbench Core v6.28.1+. (v6.28.0...v6.28.1)
Update minimum support for Testbench Core v6.28.0+. (v6.27.4...v6.28.0)
$enablesPacakgeDiscoveries = true property.defineCacheRoute() before application is ready.$basePath when using Orchestra\Testbench\container function.Update minimum support for Testbench Core v6.27.4+. (v6.27.3...v6.27.4)
Update minimum support for Testbench Core v6.27.3+. (v6.27.0...v6.27.3)
Update minimum support for Testbench Core v6.27.0+. (v6.26.0...v6.27.0)
TestCase::defineDatabaseMigrationsAfterDatabaseRefreshed() method, the method will only be executed via Illuminate\Database\Events\DatabaseRefreshed event.TestCase::destroyDatabaseMigrations().Update minimum support for Testbench Core v6.26.0+. (v6.25.2...v6.26.0)
Orchestra\Testbench\container() function to easily create an application instance.Update minimum support for Testbench Core v6.25.2+. (v6.25.0...v6.25.2)
App\Http\Kernel and App\Console\Kernel via Commander if the class exists.Update minimum support for Testbench Core v6.25.0+. (v6.24.1...v6.25.0)
TestCase::defineDatabaseSeeders() method.Update minimum support for Testbench Core v6.24.1+. (v6.24.0...v6.24.1)
Update minimum support for Testbench Core v6.24.0+. (v6.23.0...v6.24.0)
laravel/framework to 8.54.Update minimum support for Testbench Core v6.23.0+. (v6.22.0...v6.23.0)
.env when using Orchestra\Testbench\Foundation\Application.Update minimum support for Testbench Core v6.22.0+. (v6.21.3...v6.22.0)
Orchestra\Testbench\Foundation\Application to allow creating remote application using Testbench.Orchestra\Testbench\Concerns\CreatesApplication::applicationBasePath() to replace getBasePath().Update minimum support for Testbench Core v6.21.3+. (v6.21.0...v6.21.3)
vendor is an actual directory before trying to symlink with base directory vendor.PHPUnit\Util\Test::parseTestMethodAnnotations() on PHPUnit 10.Update minimum support for Testbench Core v6.21.0+. (v6.20.0...v6.21.0)
Application::basePath() instead of hardcoded value.Update minimum support for Testbench Core v6.20.0+. (v6.19.0...v6.20.0)
MYSQL_HOST, POSTGRES_HOST and MSSQL_HOST instead of just DB_HOST.getcwd() instead of relative path when setting up TESTBENCH_WORKING_PATH when executing it via bootstrap/app.php.APP_BASE_PATH environment variable to configure getBasePath().Update minimum support for Testbench Core v6.19.0+. (v6.18.0...v6.19.0)
TESTBENCH_WORKING_DIRECTORY constant.Orchestra\Testbench\Foundation\TestbenchServiceProvider, the service provider will only be registered from CLI Commander.Update minimum support for Testbench Core v6.18.0+. (v6.16.0...v6.18.0)
spatie/laravel-ray to v1.17.1+.Date aliases.logging configuration.validation language file.Update minimum support for Testbench Core v6.16.0+. (v6.15.2...v6.16.0)
Queue::createPayloadUsing() on Orchestra\Testbench\TestCase::tearDown().Update minimum support for Testbench Core v6.15.2+. (v6.15.1...v6.15.2)
laravel/vendor symlink folder.Update minimum support for Testbench Core v6.15.1+. (v6.13.0...v6.15.1)
defineWebRoutes() to automatically define routes under web middleware.Update minimum support for Testbench Core v6.13.0+. (v6.12.0...v6.13.0)
dont-discover configuration to testbench.yaml.Update minimum support for Testbench Core v6.12.0+. (v6.11.1...v6.12.0)
package:test command.Orchestra\Testbench\Foundation\TestbenchServiceProvider class.Update minimum support for Testbench Core v6.11.1+. (v6.10.0...v6.11.1)
testbench command.Update minimum support for Laravel Framework v8.22.1+. (v8.18.1...v8.22.1)
ignorePackageDiscoveriesFrom() method to Orchestra\Testbench\Concerns\CreatesApplication trait to allow enable package discoveries during tests.Orchestra\Testbench\Console\Commander will automatically discover packages.Update minimum support for Testbench Core v6.9.2+. (v6.9.1...v6.9.2)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Update minimum support for Testbench Core v5.22.0+. (v5.21.0...v5.22.0)
Update minimum support for Testbench Core v5.21.0+. (v5.19.0...v5.21.0)
Orchestra\Testbench\Foundation\Application to allow creating remote application using Testbench.Orchestra\Testbench\Concerns\CreatesApplication::applicationBasePath() to replace getBasePath().getcwd() instead of relative path to setup TESTBENCH_WORKING_PATH constant when executing it via bootstrap/app.php.APP_BASE_PATH environment variable to configure application base path.Update minimum support for Testbench Core v5.19.0+. (v5.18.1...v5.19.0)
Queue::createPayloadUsing() on Orchestra\Testbench\TestCase::tearDown().Update minimum support for Testbench Core v5.18.1+. (v5.18.0...v5.18.1)
laravel/vendor symlink folder.Update minimum support for Testbench Core v5.18.0+. (v5.16.0...v5.18.0)
defineWebRoutes() to automatically define routes under web middleware.One column per quarter.