orchestra/testbench breaking changes
orchestra/testbench v11.0.0 (March 16, 2026) is its newest release with breaking changes, 8 of them. The first: Removed @define-db. Every breaking API change we have recorded in orchestra/testbench on Packagist: 75 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v11.3.1, released December 2, 2026. MIT license. Source repository
Its v9.0.0 release requires PHP 8.2 or later. PHP end of life dates.
- From v10.0.0 to v11.0.0: 8 breaking changes in 1 version.
- From v3.0.0 to v11.0.0: 38 breaking changes in 8 versions.
orchestra/testbench v11.0.0 breaking changes
- Removed
@define-db
The deprecated @define-db annotation is no longer supported. github.com - Removed
@define-env
The deprecated @define-env annotation is no longer supported. github.com - Removed
@define-route
The deprecated @define-route annotation is no longer supported. github.com - Removed
@environment-setup
The deprecated @environment-setup annotation is no longer supported. github.com - Removed
Orchestra\Testbench\Foundation\Console\Actions\Action.pathLocation
The deprecated pathLocation() method on Action is gone, so code that calls it must be updated. github.com - Removed
Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsole
The deprecated HandleTerminatingConsole trait is gone, so code that uses it must be updated. github.com - Removed
Orchestra\Testbench\Foundation\Env
The deprecated Orchestra\Testbench\Foundation\Env class is gone, so code that uses it must be updated. github.com - Removed
Orchestra\Testbench\laravel_migration_path
The deprecated laravel_migration_path() function is gone, so code that calls it must be updated. github.com
orchestra/testbench v10.0.0 breaking changes
- Removed
Orchestra\Testbench\Concerns\CreatesApplication.getBasePath
The deprecated getBasePath() method is removed from the CreatesApplication trait. github.com - Removed
Orchestra\Testbench\Concerns\CreatesApplication.getDefaultApplicationBootstrapFile
The deprecated getDefaultApplicationBootstrapFile() method is removed from the CreatesApplication trait. github.com - Removed
Orchestra\Testbench\Concerns\InteractsWithMigrations.loadLaravelMigrationsWithoutRollback
The deprecated loadLaravelMigrationsWithoutRollback() method is removed from the InteractsWithMigrations trait. github.com - Removed
Orchestra\Testbench\Concerns\InteractsWithMigrations.loadMigrationsWithoutRollbackFrom
The deprecated loadMigrationsWithoutRollbackFrom() method is removed from the InteractsWithMigrations trait. github.com - Removed
Orchestra\Testbench\Concerns\InteractsWithMigrations.runLaravelMigrationsWithoutRollback
The deprecated runLaravelMigrationsWithoutRollback() method is removed from the InteractsWithMigrations trait. github.com - Removed
Orchestra\Testbench\once
The deprecated Orchestra\Testbench\once() function is gone; stop calling it. github.com - Removed
Orchestra\Testbench\transform_relative_path
The deprecated Orchestra\Testbench\transform_relative_path() function is gone; stop calling it. github.com
orchestra/testbench v9.0.0 breaking changes
- Removed
create-sqlite-db
The deprecated standalone command has been removed; commands using it will no longer run. github.com - Removed
drop-sqlite-db
The deprecated standalone command has been removed; commands using it will no longer run. github.com - Removed
Orchestra\Testbench\Concerns\Database\HandlesConnections
The deprecated database connections trait has been removed and code using it will fail. github.com - Behavior changed
The package now requires PHP 8.2 or later (tested with 8.2 and 8.3); older PHP versions must be upgraded before using this release. github.com
orchestra/testbench v8.0.0 breaking changes
- Removed
Support for PHP versions below 8.1 is removed, so PHP 8.1 or newer is now required. github.com
orchestra/testbench v7.0.0 breaking changes
- Removed
The minimum PHP version is raised to 8.0. Code must run on PHP 8.0 or later. github.com - Removed
Illuminate\Foundation\Testing\Concerns\MocksApplicationServices
The deprecated trait is removed. Stop using it in test code. github.com - Renamed
resources.lang
Skeleton language files now live in the lang directory instead of resources/lang. github.com - Behavior changed
Orchestra\Testbench\Bootstrap\LoadConfiguration
This internal class can no longer be extended or subclassed. github.com - Behavior changed
Orchestra\Testbench\Console\Kernel
This internal class can no longer be extended or subclassed. github.com - Behavior changed
Orchestra\Testbench\Http\Kernel
This internal class can no longer be extended or subclassed. github.com - Default changed
$loadEnvironmentVariables
The $loadEnvironmentVariables property defaults to true. Set it to false to keep the previous behavior. github.com
orchestra/testbench v6.0.0 breaking changes
- Removed
The package no longer supports PHP versions below 7.3, so projects on older PHP must upgrade before using this release. github.com - Configuration changed
auth.providers.users.model
The auth.providers.users.model config value now points to Illuminate\Foundation\Auth\User, so code relying on the previous value must update its configuration. github.com - Configuration changed
queue.failed.driver
The queue.failed.driver config value is now database-uuid, so apps relying on the previous failed-job driver must update their configuration. github.com
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
orchestra/testbench v5.0.0 breaking changes
- Removed
The package no longer supports PHP versions below 7.2.5, so projects on older PHP must upgrade before using this release. github.com - Renamed
MAIL_DRIVER
The MAIL_DRIVER environment variable was changed to MAIL_MAILER, so environment files and deployment settings must use the new name. github.com
orchestra/testbench v4.0.0 breaking changes
- Behavior changed
The package now requires PHP 7.2 or later, tested with 7.2 and 7.3. Projects on older PHP must upgrade before using this release. github.com - Behavior changed
Tests that use Redis now need the ext-redis PHP extension installed. Install it, or set REDIS_CLIENT and REDIS_CLUSTER to the predis option. github.com
And 4 more in this version.
orchestra/testbench v3.0.0 breaking changes
- Removed
Orchestra\Testbench\BehatFeatureContext::$client
Orchestra\Testbench\BehatFeatureContext::$client was removed in orchestra/testbench v3.0.0 packagist.org - Removed
Orchestra\Testbench\BehatFeatureContext::createClient
Orchestra\Testbench\BehatFeatureContext::createClient was removed in orchestra/testbench v3.0.0 packagist.org
And 35 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.