PHPackages                             fuzz/rest-tester - 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. fuzz/rest-tester

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

fuzz/rest-tester
================

A base test suite for RESTful APIs written with Laravel.

1.1(9y ago)01.8k1MITPHP

Since Jul 7Pushed 9y ago24 watchersCompare

[ Source](https://github.com/fuzz-productions/rest-tester)[ Packagist](https://packagist.org/packages/fuzz/rest-tester)[ RSS](/packages/fuzz-rest-tester/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (8)Versions (5)Used By (1)

Laravel REST-tester [![Build Status](https://camo.githubusercontent.com/4bfeb358ce84eb7adf27382035b5bc9a769d790f1e407c5d59e346e1b06ed741/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f66757a7a2d70726f64756374696f6e732f726573742d7465737465722f6d61737465722e7376673f7374796c653d666c6174)](https://travis-ci.org/fuzz-productions/rest-tester)
===============================================================================================================================================================================================================================================================================================================================================================

[](#laravel-rest-tester-)

A suite of helper methods to test REST APIs.

Setup
-----

[](#setup)

1. Require-dev the composer package
2. Extend your base API test case from `Fuzz\RestTests\BaseRestTestCase`
3. Adjust `setUp` and `tearDown` as needed. The tests for this package are a good example of how to use it.
    1. This package extends `orchestra/testbench` so all available functionality is present in `rest-tester`

Helper Traits
-------------

[](#helper-traits)

### Base

[](#base)

1. `Fuzz\RestTests\BaseRestTestCase` provides some helper methods to configure tests for a RESTful API

### Resources

[](#resources)

1. `Fuzz\RestTests\Resources\RestfulResource` provides helper methods to test endpoints for restful resources
2. Add `Fuzz\RestTests\Resources\TestResourceX` (where X is the resource action) traits depending on which actions need to be tested

### OAuth

[](#oauth)

1. `Fuzz\RestTests\AuthTraits\OAuthTrait` provides methods to authenticate, refresh tokens, retrieve tokens from request objects, create users/clients with scopes, etc.

Who tests the testers?
----------------------

[](#who-tests-the-testers)

Run `phpunit` after `composer install`.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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 ~155 days

Total

2

Last Release

3491d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/00415e4fac75ee392fb49e37fb7fb412b908687d4da0eb3ff0e942c944d619c9?d=identicon)[Fuzzpro](/maintainers/Fuzzpro)

---

Top Contributors

[![SimantovYousoufov](https://avatars.githubusercontent.com/u/8379657?v=4)](https://github.com/SimantovYousoufov "SimantovYousoufov (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fuzz-rest-tester/health.svg)

```
[![Health](https://phpackages.com/badges/fuzz-rest-tester/health.svg)](https://phpackages.com/packages/fuzz-rest-tester)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M352](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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