TestBench Core Provides Some Testing Functionality For Laravel

v4.1.0 2023-12-03 15:24 UTC


Laravel TestBench Core was created by, and is maintained by Graham Campbell, and provides some testing functionality for Laravel. Feel free to check out the change log, releases, security policy, license, code of conduct, and contribution guidelines.


Build Status StyleCI Status Software License Packagist Downloads Latest Version


This version requires PHP 7.4-8.3 and supports PHPUnit 9-10 and Laravel 8-11. PHPUnit 11 is intentionally not supported at this time due to PHPUnit's volatility across minor releases. We would highly recommend sticking with PHPUnit 10 at this time.

TestBench Core L5.5 L5.6 L5.7 L5.8 L6 L7 L8 L9 L10 L11
TestBench Core PHPUnit 6 PHPUnit 7 PHPUnit 8 PHPUnit 9 PHPUnit 10 PHPUnit 11

To get the latest version, simply require the project using Composer:

$ composer require "graham-campbell/testbench-core:^4.1" --dev

Once installed, you can extend or implement the classes in this package, or packages required by this package. There are no service providers to register.


Laravel TestBench Core requires no configuration. Just follow the simple install instructions and go!


You may see an example of implementation in pretty much all of my Laravel packages.


If you discover a security vulnerability within this package, please send an email to All security vulnerabilities will be promptly addressed. You may view our full security policy here.


Laravel TestBench Core is licensed under The MIT License (MIT).

For Enterprise

Available as part of the Tidelift Subscription

The maintainers of graham-campbell/testbench-core and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.