laravel-testable-requests maintained by markwalet
Last update
2023/12/01 13:57
License
Require
- php ^8.0
- laravel/framework ^9.41|^10.0
- phpunit/phpunit ^9.5|^10.0
Last update
2023/04/13 17:26
License
Require
- php ^8.0
- laravel/framework ^9.41|^10.0
- phpunit/phpunit ^9.5|^10.0
Last update
2023/03/02 14:55
License
Require
- php ^8.0
- laravel/framework ^9.41|^10.0
- phpunit/phpunit ^9.5
Last update
2022/11/28 15:43
License
Require
- php ^8.0
- laravel/framework ^9.41
- phpunit/phpunit ^9.5
Last update
2022/11/28 14:18
License
Require
- php ^8.0
- laravel/framework ^9.41
- phpunit/phpunit ^9.5
Laravel Testable requests
A Laravel package to make request testing easier.
This package is based on a Gist from Colin DeCarlo.
Installation
You can install this package with composer:
composer require --dev markwalet/laravel-testable-requests
Documentation
The documentation is still being worked on. For now, please look at how these classes are used by Colin himself in a Laracon Online talk in 2021
Changes made in comparison to the video:
- Improved type hinting
- Added
defaultData()method to the request - Added
assertFailsValidationFor()method to the validation result.