Providing some testing functionality for Laravel 5
Clone or download
Latest commit 2a5e64b Mar 1, 2018

Laravel TestBench

Laravel TestBench was created by, and is maintained by Graham Campbell, and provides some testing functionality for Laravel 5. It utilises PHPUnit, Mockery, Orchestral Testbench, and the Laravel Testbench Core packages. Feel free to check out the change log, releases, license, and contribution guidelines.

Laravel TestBench

StyleCI Status Build Status Coverage Status Quality Score Software License Latest Version


Laravel TestBench requires PHP 7.1 or 7.2, and supports PHPUnit 6 or 7. This particular version supports Laravel 5.5 or 5.6 only.

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

$ composer require graham-campbell/testbench --dev

Once installed, you can extend or implement the classes in this package, or packages required by this package. The AbstractTestCase class would be a good place to start. There are no service providers to register.


Laravel TestBench 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 e-mail to Graham Campbell at All security vulnerabilities will be promptly addressed.


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