Looking to hire Laravel developers? Try LaraJobs

laravel-testable-requests maintained by markwalet

Description
A Laravel package to make request testing easier
Author
Last update
2026/04/02 09:17 (dev-main)
License
Links
Downloads
7 024

Comments
comments powered by Disqus

Laravel Testable requests

MIT Licensed Latest Stable Version Total Downloads

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.