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 v7.28.0+. (v7.27.0...v7.28.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 v7.27.0+. (v7.26.2...v7.27.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.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Bump minimum laravel/framework to 9.52.15.
laravel/framework to 9.52.15.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 v7.26.1+. (v7.26.0...v7.26.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.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.package:devtool, package:create-sqlite-db and package:drop-sqlite-db commands.Update minimum support for Testbench Core v7.25.0+. (v7.24.1...v7.25.0)
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables to manage loading .env file during tests, backport from Testbench Core 8 releases.laravel/framework to 9.52.9.tearDownInteractsWithPublishedFiles() from setUpInteractsWithPublishedFiles() method.Update minimum support for Testbench Core v7.24.1+. (v7.24.0...v7.24.1)
Orchestra\Testbench\Foundation\Config::addProviders() usage.Orchestra\Testbench\transform_relative_path() logic.Update minimum support for Testbench Core v7.24.0+. (v7.23.0...v7.24.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
setup<Concern> and teardown<Concern> with imported traits.Warning: 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 v7.22.2+. (v7.22.1...v7.22.2)
spatie/laravel-ray.Update minimum support for Testbench Core v7.22.1+. (v7.22.0...v7.22.1)
Update minimum support for Testbench Core v7.22.0+. (v7.21.0...v7.22.0)
package:test --parallel command usage.$app->bootstrapPath() instead of $app->basePath('bootstrap') whenever possible.Update minimum support for Testbench Core v7.21.0+. (v7.20.0...v7.21.0)
Illuminate\Foundation\Testing\DatabaseTruncation.laravel/framework to 9.50.2.Update minimum support for Testbench Core v7.20.0+. (v7.19.0...v7.20.0)
package:test commands.Added Illuminate\Foundation\Testing\InteractsWithDeprecationHandling to Orchestra\Testbench\TestCase.
Illuminate\Foundation\Testing\InteractsWithDeprecationHandling to Orchestra\Testbench\TestCase.Update minimum support for Testbench Core v7.18.0+. (v7.17.0...v7.18.0)
Orchestra\Testbench\laravel_version_compare function as alias to version_compare specifically for Laravel Framework.Orchestra\Testbench\phpunit_version_compare function as alias to version_compare specifically for PHPUnit.Orchestra\Testbench\Exceptions\PHPUnitErrorException class.Orchestra\Testbench\Bootstrap\ConfigureRay class as final.Orchestra\Testbench\Concerns\HandlesAnnotations trait.Update minimum support for Testbench Core v7.17.0+. (v7.16.0...v7.17.0)
laravel/framework to 9.45.0.Added Orchestra\Testbench\Bootstrap\HandleExceptions bootstrap to allow catching deprecation errors during tests.
resolveApplicationEnvironmentVariables() method.Orchestra\Testbench\Bootstrap\HandleExceptions bootstrap to allow catching deprecation errors during tests.
Orchestra\Testbench\Exceptions\DeprecatedException exception when deprecation occured.logging.deprecations.trace to true.storage/logs/deprecations.log when LOG_DEPRECATIONS_CHANNEL=single.laravel/framework to 9.44.0.Update minimum support for Testbench Core v7.15.0+. (v7.14.1...v7.15.0)
laravel/framework to 9.41.0.Update minimum support for Testbench Core v7.14.1+. (v7.14.0...v7.14.1)
serve command with no-reload options.Update minimum support for Testbench Core v7.14.0+. (v7.13.0...v7.14.0)
Orchestra\Testbench\Exceptions\ApplicationNotAvailableException exception when trying to access $this->app outside of booted application.tests/CreatesApplication.php to skeleton.Update minimum support for Testbench Core v7.13.0+. (v7.12.1...v7.13.0)
Orchestra\Testbench\Bootstrap\ConfigureRay and use it when creating Application.Update minimum support for Testbench Core v7.12.1+. (v7.12.0...v7.12.1)
sqlite causes an exception when the database file isn't available. The loaded application should revert to testing database connection for the state.Update minimum support for Testbench Core v7.12.0+. (v7.11.0...v7.12.0)
about artisan command.package:devtool to generate .env, testbench.yaml and database.sqlite file.package:create-sqlite-db and package:drop-sqlite-db command.serve command.Update minimum support for Testbench Core v7.11.0+. (v7.10.2...v7.11.0)
Orchestra\Testbench\Foundation\Application::createVendorSymlink() method.
Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink.laravel/framework to 9.36.0
Update minimum support for Testbench Core v7.10.2+. (v7.10.1...v7.10.2)
Update minimum support for Testbench Core v7.10.1+. (v7.10.0...v7.10.1)
bootstrap/cache/packages.php on vendor symlink event.Update minimum support for Testbench Core v7.10.0+. (v7.9.0...v7.10.0)
Orchestra\Testbench\Foundation\Config to read Yaml file from testbench.yaml.Update minimum support for Testbench Core v7.9.0+. (v7.8.1...v7.9.0)
laravel/framework to 9.34.0.mockery/mockery to 1.5.1.symfony dependencies to 6.0.9.Update minimum support for Testbench Core v7.8.1+. (v7.8.0...v7.8.1)
Illuminate\Support\Arr import on HandlesTestFailures trait.Update minimum support for Testbench Core v7.8.0+. (v7.7.1...v7.8.0)
laravel/framework to 9.32.0.Update minimum support for Testbench Core v7.7.1+. (v7.7.0...v7.7.1)
Update minimum support for Testbench Core v7.7.0+. (v7.6.1...v7.7.0)
loadLaravelMigrationsWithoutRollback() and runLaravelMigrationsWithoutRollback() helpers.Update minimum support for Testbench Core v7.6.1+. (v7.6.0...v7.6.1)
Update minimum support for Testbench Core v7.6.0+. (v7.5.0...v7.6.0)
laravel/framework to 9.12.0.Update minimum support for Testbench Core v7.5.0+. (v7.4.0...v7.5.0)
laravel/framework to 9.12.0.Update minimum support for Testbench Core v7.4.0+. (v7.3.0...v7.4.0)
laravel/framework to 9.7.0.--drop-databases on package:test command.Update minimum support for Testbench Core v7.3.0+. (v7.2.0...v7.3.0)
laravel/framework to 9.6.0.Update minimum support for Testbench Core v7.2.0+. (v7.1.0...v7.2.0)
laravel/framework to 9.5.1.Update minimum support for Testbench Core v7.1.0+. (v7.0.2...v7.1.0)
laravel/framework to 9.2.sanctum.php configuration from skeleton.Update minimum support for Testbench Core v7.0.2+. (v7.0.1...v7.0.2)
Update minimum support for Testbench Core v7.0.1+. (v7.0.0...v7.0.1)
lang/en.json skeleton file.Remove deprecated Illuminate\Foundation\Testing\Concerns\MocksApplicationServices trait.
resolveApplicationRateLimiting() method.Orchestra\Testbench\Http\Middleware\PreventRequestsDuringMaintenance middleware.$loadEnvironmentVariables property is now set to true by default.final:
Orchestra\Testbench\Bootstrap\LoadConfigurationOrchestra\Testbench\Console\KernelOrchestra\Testbench\Http\Kernelresources/lang skeleton files to lang directory.Illuminate\Foundation\Testing\Concerns\MocksApplicationServices trait.Limit compatible guzzlehttp/guzzle version to be used with Laravel Framework 8.
guzzlehttp/guzzle version to be used with Laravel Framework 8.Update minimum support for Testbench Core v6.53.1+. (v6.53.0...v6.53.1)
shouldSeed() exists and return false.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 v6.52.0+. (v6.51.2...v6.52.0)
artisan binary to Laravel skeleton.Orchestra\Testbench\join_paths() function.afterApplicationCreated(), afterApplicationRefreshed(), and beforeApplicationDestroyed() methods visibility from protected to public.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 v6.51.2+. (v6.51.0...v6.51.2)
InteractsWithPublishedFiles should only flush published files within database/migrations directory.Update minimum support for Testbench Core v6.51.0+. (v6.50.2...v6.51.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 @danjohnson95Update minimum support for Testbench Core v6.50.2+. (v6.50.1...v6.50.2)
Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler() usage to detect Workbench\App\Exceptions\Handler class.Update minimum support for Testbench Core v6.50.1+. (v6.50.0...v6.50.1)
Orchestra\Testbench\Attributes\RequiresLaravel attribute usage.Update minimum support for Testbench Core v6.50.0+. (v6.49.6...v6.50.0)
TESTBENCH_WORKING_PATH from environment variable before fallback to getcwd().Update minimum support for Testbench Core v6.49.6+. (v6.49.5...v6.49.6)
Orchestra\Testbench\remote to accept $env with either array or string.Update minimum support for Testbench Core v6.49.5+. (v6.49.4...v6.49.5)
RefreshDatabase to be executed on tearDown() only limited when ad-hoc migrations was added during test.Update minimum support for Testbench Core v6.49.4+. (v6.49.0...v6.49.4)
beforeApplicationDestroyed() usage on loadLaravelMigrations() method.RefreshDatabase usage does not reset the database migrations between tests.RefreshDatabaseState::$migrated before loading migration paths to the instance of migrator.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 v6.49.0+. (v6.47.1...v6.49.0)
Orchestra\Testbench\Attributes\RequiresLaravel attribute.Orchestra\Testbench\Foundation\Env::has() method.Orchestra\Testbench\load_migration_paths() function.Orchestra\Testbench\laravel_version_compare() function.Orchestra\Testbench\phpunit_version_compare() function.Orchestra\Testbench\once() function.MYSQL_*, MSSQL_*, SQLITE_* and POSTGRES_* environment variables before trying to override the configuration values.Update minimum support for Testbench Core v6.47.1+. (v6.47.0...v6.47.1)
$router->getRoutes()->refreshActionLookups() caused tests to fail.Deprecate Orchestra\Testbench\Concerns\HandlesTestingFeature trait.
Orchestra\Testbench\Features\TestingFeature as a replacement to HandlesTestingFeature trait.Orchestra\Testbench\Attributes\WithImmutableDates attribute to force Illuminate\Support\Date to use Carbon\CarbonImmutable.Orchestra\Testbench\default_skeleton_pathOrchestra\Testbench\refresh_router_lookupsOrchestra\Testbench\Concerns\HandlesTestingFeature trait.Update minimum support for Testbench Core v6.45.0+. (v6.44.0...v6.45.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.Update minimum support for Testbench Core v6.44.0+. (v6.43.0...v6.44.0)
discovers.components configuration.view.paths configuration when Workbench discover views.One column per quarter.