PHPackages                             markwalet/laravel-testable-requests - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. markwalet/laravel-testable-requests

ActiveLibrary[Testing &amp; Quality](/categories/testing)

markwalet/laravel-testable-requests
===================================

A Laravel package to make request testing easier

v0.5.0(1mo ago)06.9k—7.4%MITPHPPHP ^8.1CI passing

Since Nov 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/markwalet/laravel-testable-requests)[ Packagist](https://packagist.org/packages/markwalet/laravel-testable-requests)[ RSS](/packages/markwalet-laravel-testable-requests/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (18)Used By (0)

Laravel Testable requests
=========================

[](#laravel-testable-requests)

[![MIT Licensed](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Latest Stable Version](https://camo.githubusercontent.com/cbdbd2ee6f5027bf25a2a1de1545c964a33a4ce7121ab2897dec2204e223c78f/68747470733a2f2f706f7365722e707567782e6f72672f6d61726b77616c65742f6c61726176656c2d7465737461626c652d72657175657374732f762f737461626c65)](https://packagist.org/packages/markwalet/laravel-testable-requests)[![Total Downloads](https://camo.githubusercontent.com/ec58889f2fbb66b0c81e595081e60ef7c1fe36f9dc11a0023bc99aad5e4db5be/68747470733a2f2f706f7365722e707567782e6f72672f6d61726b77616c65742f6c61726176656c2d7465737461626c652d72657175657374732f646f776e6c6f616473)](https://packagist.org/packages/markwalet/laravel-testable-requests)

A Laravel package to make request testing easier.

This package is based on [a Gist](https://gist.github.com/colindecarlo/9ba9bd6524127fee7580ae66c6d4709d) from [Colin DeCarlo](https://github.com/colindecarlo).

Installation
------------

[](#installation)

You can install this package with composer:

```
composer require --dev markwalet/laravel-testable-requests
```

Documentation
-------------

[](#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](https://youtu.be/mC-MbQSHWec)

### Changes made in comparison to the video:

[](#changes-made-in-comparison-to-the-video)

- Improved type hinting
- Added `defaultData()` method to the request
- Added `assertFailsValidationFor()` method to the validation result.

Testing
-------

[](#testing)

Run the package test suite with:

```
composer test
```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance89

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~101 days

Recently: every ~194 days

Total

13

Last Release

55d ago

PHP version history (2 changes)v0.0.1PHP ^8.0

v0.5.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/a37ff925cc06953e11b0c2ed9b9eac8f090bb4780df7964ad9f0b76543521dfc?d=identicon)[markwalet](/maintainers/markwalet)

---

Top Contributors

[![markwalet](https://avatars.githubusercontent.com/u/11446771?v=4)](https://github.com/markwalet "markwalet (32 commits)")

---

Tags

testingphpunitlaravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/markwalet-laravel-testable-requests/health.svg)

```
[![Health](https://phpackages.com/badges/markwalet-laravel-testable-requests/health.svg)](https://phpackages.com/packages/markwalet-laravel-testable-requests)
```

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[hotmeteor/spectator

Testing helpers for your OpenAPI spec

3021.4M1](/packages/hotmeteor-spectator)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8217.0M43](/packages/orchestra-workbench)[guanguans/laravel-soar

SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。

2227.8k](/packages/guanguans-laravel-soar)[spurwork/spectator

Testing helpers for your OpenAPI spec

3021.5k](/packages/spurwork-spectator)[albertcht/lumen-testing

Testing Suite For Lumen like Laravel does.

4335.5k1](/packages/albertcht-lumen-testing)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
