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.6.1(3mo ago)07.5k—0.7%MITPHPPHP ^8.2CI passing

Since Nov 28Pushed 3w 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 today

READMEChangelog (10)Dependencies (9)Versions (20)Used By (0)

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

[](#laravel-testable-requests)

[![Build Status](https://github.com/markwalet/laravel-testable-requests/workflows/tests/badge.svg)](https://github.com/markwalet/laravel-testable-requests/actions)[![Total Downloads](https://camo.githubusercontent.com/f3329517845bae35fb2a38f5232ea1cf1182ea77096c7124770575120b164600/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61726b77616c65742f6c61726176656c2d7465737461626c652d7265717565737473)](https://packagist.org/packages/markwalet/laravel-testable-requests)[![Latest Stable Version](https://camo.githubusercontent.com/801514e43660159c1b8da5846a0e61a355fff6336b580f7ebedd0b3097ddb2fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61726b77616c65742f6c61726176656c2d7465737461626c652d7265717565737473)](https://packagist.org/packages/markwalet/laravel-testable-requests)[![License](https://camo.githubusercontent.com/dfb728f2541d29efe32299d1e0a2f805117ad85473efa150c9e0c6f2b8ffb5f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d61726b77616c65742f6c61726176656c2d7465737461626c652d7265717565737473)](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

48

—

FairBetter than 93% of packages

Maintenance89

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.7% 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 ~87 days

Recently: every ~105 days

Total

15

Last Release

93d ago

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

v0.5.0PHP ^8.1

v0.6.0PHP ^8.2

### 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 (44 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

testingphpunitlaravel

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

### 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.2k42.5M40.9k](/packages/orchestra-testbench)[hotmeteor/spectator

Testing helpers for your OpenAPI spec

3051.6M1](/packages/hotmeteor-spectator)[guanguans/laravel-soar

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

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

Testing helpers for your OpenAPI spec

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

Testing Suite For Lumen like Laravel does.

4335.9k1](/packages/albertcht-lumen-testing)[mominalzaraa/filament-localization

The first and only automatic Filament localization package with intelligent resource scanning, structured translation files, and comprehensive testing

102.8k](/packages/mominalzaraa-filament-localization)

PHPackages © 2026

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