PHPackages                             ranierif/api-mocker - 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. ranierif/api-mocker

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

ranierif/api-mocker
===================

A simple package to mock API responses for testing

v1.0.1(9mo ago)483MITPHP ^8.2

Since Aug 8Compare

[ Source](https://github.com/ranierif/api-mocker)[ Packagist](https://packagist.org/packages/ranierif/api-mocker)[ RSS](/packages/ranierif-api-mocker/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (5)Versions (5)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/ranierif/api-mocker).

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance58

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Total

4

Last Release

276d ago

Major Versions

v0.1.1 → v1.0.02025-08-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d8d966097314e801da26248fbeca6f21fae7e0a953b3a71c7bb5811cdd8ed27?d=identicon)[ranierif](/maintainers/ranierif)

---

Tags

phptestingapimock

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ranierif-api-mocker/health.svg)

```
[![Health](https://phpackages.com/badges/ranierif-api-mocker/health.svg)](https://phpackages.com/packages/ranierif-api-mocker)
```

###  Alternatives

[blastcloud/guzzler

Supercharge your app or SDK with a testing library specifically for Guzzle.

272419.3k35](/packages/blastcloud-guzzler)[quizlet/hammock

Hammock is a stand-alone mocking library for Hacklang.

27445.5k](/packages/quizlet-hammock)[doppiogancio/mocked-client

A simple way to mock a client

2174.9k3](/packages/doppiogancio-mocked-client)[lastzero/test-tools

Increases testing productivity by adding a service container and self-initializing fakes to PHPUnit

2244.3k13](/packages/lastzero-test-tools)

PHPackages © 2026

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