graham-campbell / testbench
TestBench Provides Some Testing Functionality For Laravel
Fund package maintenance!
GrahamCampbell
Tidelift
Installs: 260 062
Dependents: 403
Suggesters: 0
Security: 0
Stars: 49
Watchers: 3
Forks: 9
Open Issues: 0
Requires
- php: ^7.4.15 || ^8.0.2
- graham-campbell/testbench-core: ^4.1
- orchestra/testbench: ^6.38 || ^7.35 || ^8.15 || ^9.0
Requires (Dev)
- graham-campbell/analyzer: ^4.1
- mockery/mockery: ^1.6.6
- phpunit/phpunit: ^9.5 || ^10.1
Conflicts
- 6.1.x-dev
- v6.1.0
- 6.0.x-dev
- v6.0.0
- 5.7.x-dev
- v5.7.1
- v5.7.0
- 5.6.x-dev
- v5.6.2
- v5.6.1
- v5.6.0
- 5.5.x-dev
- v5.5.1
- v5.5.0
- v5.4.2
- v5.4.1
- v5.4.0
- v5.3.1
- v5.3.0
- v5.2.1
- v5.2.0
- v5.1.0
- v5.0.0
- 4.0.x-dev
- v4.0.0
- 3.4.x-dev
- v3.4.0
- v3.3.0
- v3.2.0
- v3.1.1
- v3.1.0
- v3.0.2
- v3.0.1
- v3.0.0
- v2.1.0
- v2.0.1
- v2.0.0
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.0
- v1.0.0-RC1
- v1.0.0-beta2
- v1.0.0-beta1
- v0.3.1-alpha
- v0.3.0-alpha
- v0.2.0-alpha
- v0.1.1-alpha
- v0.1.0-alpha
This package is auto-updated.
Last update: 2024-10-17 23:27:42 UTC
README
Laravel TestBench was created by, and is maintained by Graham Campbell, and provides some testing functionality for Laravel. It utilises PHPUnit, Mockery, Orchestral Testbench, and the Laravel Testbench Core packages. Feel free to check out the change log, releases, security policy, license, code of conduct, and contribution guidelines.
Installation
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.
To get the latest version, simply require the project using Composer:
$ composer require "graham-campbell/testbench:^6.1" --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.
Configuration
Laravel TestBench requires no configuration. Just follow the simple install instructions and go!
Usage
You may see an example of implementation in pretty much all of my Laravel packages.
Security
If you discover a security vulnerability within this package, please send an email to security@tidelift.com. All security vulnerabilities will be promptly addressed. You may view our full security policy here.
License
Laravel TestBench is licensed under The MIT License (MIT).
For Enterprise
Available as part of the Tidelift Subscription
The maintainers of graham-campbell/testbench
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.