orchestra/testbench-core
Testing Helper for Laravel Development
Requires
- php: ^8.3
- composer-runtime-api: ^2.2
- orchestra/sidekick: ~1.1.23|~1.2.20
- symfony/deprecation-contracts: ^2.5|^3.0
- symfony/polyfill-php84: ^1.34.0
Requires (Dev)
- fakerphp/faker: ^1.24
- laravel/framework: ^13.10.0
- laravel/pint: ^1.24
- laravel/serializable-closure: ^2.0.10
- mockery/mockery: ^1.6.10
- phpstan/phpstan: ^2.1.38
- phpunit/phpunit: ^11.5.50|^12.5.8|^13.0.0
- spatie/laravel-ray: ^1.43.6
- symfony/process: ^7.4.5|^8.0.5
- symfony/yaml: ^7.4.0|^8.0.0
- vlucas/phpdotenv: ^5.6.1
Suggests
- ext-pcntl: Required to use all features of the console signal trapping.
- brianium/paratest: Allow using parallel testing (^7.3).
- fakerphp/faker: Allow using Faker for testing (^1.23).
- laravel/framework: Required for testing (^13.9.0).
- mockery/mockery: Allow using Mockery for testing (^1.6).
- nunomaduro/collision: Allow using Laravel style tests output and parallel testing (^8.9).
- orchestra/testbench-dusk: Allow using Laravel Dusk for testing (^11.0).
- phpunit/phpunit: Allow using PHPUnit for testing (^11.5.50|^12.5.8|^13.0.0).
- symfony/process: Required to use Orchestra\Testbench\remote function (^7.4|^8.0).
- symfony/yaml: Required for Testbench CLI (^7.4|^8.0).
- vlucas/phpdotenv: Required for Testbench CLI (^5.6.1).
Provides
None
Conflicts
- brianium/paratest: <7.3.0|>=8.0.0
- laravel/framework: <13.10.0|>=14.0.0
- laravel/serializable-closure: >=2.0.0 <2.0.10|>=3.0.0
- nunomaduro/collision: <8.9.0|>=9.0.0
- phpunit/phpunit: <11.5.50|>=12.0.0 <12.5.8|>=13.2.0
Replaces
None
MIT 527fe9941b8bdec2914d2a19048b0c40c6c5d87c
- Mior Muhammad Zaki <crynobone.woop@gmail.com>
This package is auto-updated.
Last update: 2026-06-17 22:32:34 UTC
README
Testbench Core is a framework designed to help you write tests and interact with your Laravel package.
👁 tests
👁 Latest Stable Version
👁 Total Downloads
👁 Latest Unstable Version
👁 License
Version Compatibility
| Laravel | Testbench Core |
|---|---|
| 6.x | 4.x |
| 7.x | 5.x |
| 8.x | 6.x |
| 9.x | 7.x |
| 10.x | 8.x |
| 11.x | 9.x |
| 12.x | 10.x |
Usage
Testbench
It loads a Laravel application within your package repository and enables you to run artisan commands, migrations, factories, and basic routing from within your tests.
👁 Latest Stable Version
👁 Total Downloads
Testbench BrowserKit
It extends Testbench and allows you to interact with views using CSS selectors (form, button, link, etc.) without loading JavaScript.
👁 Latest Stable Version
👁 Total Downloads
Testbench Dusk
It extends Testbench and allows you to interact with views using CSS selectors (form, button, link, etc). Loading the pages using Google Chrome enables you to interact with JavaScript-powered content.
👁 Latest Stable Version
👁 Total Downloads
Workbench
It loads a Laravel application within your package repository and enables you to preview the package directly within the repository.
