PHPackages                             api-clients/test-utilities - 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. api-clients/test-utilities

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

api-clients/test-utilities
==========================

Test utilities for api-clients packages

5.5.0(7y ago)390.9k—0%1[4 PRs](https://github.com/php-api-clients/test-utilities/pulls)20MITMakefilePHP ^7.2

Since Oct 12Pushed 2y ago3 watchersCompare

[ Source](https://github.com/php-api-clients/test-utilities)[ Packagist](https://packagist.org/packages/api-clients/test-utilities)[ RSS](/packages/api-clients-test-utilities/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (32)Used By (20)

Test utilities
==============

[](#test-utilities)

[![Build Status](https://camo.githubusercontent.com/1af95be23ae5e60b32fdbcbdfad6fbd0d4ede74079a42770ba61e7e94da7e858/68747470733a2f2f7472617669732d63692e6f72672f7068702d6170692d636c69656e74732f746573742d7574696c69746965732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/php-api-clients/test-utilities)[![Latest Stable Version](https://camo.githubusercontent.com/f1febb57fb1c1f413fa826f672139db194fcac8cd40860110c2dc8ae90f9db61/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f746573742d7574696c69746965732f762f737461626c652e706e67)](https://packagist.org/packages/api-clients/test-utilities)[![Total Downloads](https://camo.githubusercontent.com/d9d02c564cb6b64b8b1922dbc52090a4e8be91f118e4c7f237dcabda8fedb117/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f746573742d7574696c69746965732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/api-clients/test-utilities/stats)[![Code Coverage](https://camo.githubusercontent.com/0d73b93254f087313c18e2e9706c52d1ae1ff398a6de41f175ec42e1592fd945/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068702d6170692d636c69656e74732f746573742d7574696c69746965732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/php-api-clients/test-utilities/?branch=master)[![License](https://camo.githubusercontent.com/c865d8b03304ff71c3fecf0ac43cf396f20d7409d1244b948991a418289fedbb/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f746573742d7574696c69746965732f6c6963656e73652e706e67)](https://packagist.org/packages/api-clients/test-utilities)[![PHP 7 ready](https://camo.githubusercontent.com/704c1034f6cd0d22e658393a499ed9eea5534dddabcd3aad639c74b9f6923383/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f7068702d6170692d636c69656e74732f746573742d7574696c69746965732f62616467652e737667)](https://appveyor-ci.org/php-api-clients/test-utilities)

Installation
============

[](#installation)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.

```
composer require api-clients/test-utilities

```

Usage
=====

[](#usage)

Any test file can extend `ApiClients\Tools\TestUtilities\TestCase` and it comes with some goodies such as random namespaces and random directories to use for file storage related tests.

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2016 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community27

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 67% 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 ~91 days

Recently: every ~240 days

Total

20

Last Release

1706d ago

Major Versions

1.0.0 → 2.0.02016-12-08

2.1.0 → 3.0.02017-02-04

3.0.1 → 4.0.02017-05-13

4.3.0 → 5.0.02018-05-21

4.3.x-dev → 5.5.02019-03-16

PHP version history (3 changes)1.0.0PHP ^7.0

5.0.0PHP ^7.2

3.1.0PHP ^8 || ^7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (136 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (39 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (25 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (2 commits)")[![inoas](https://avatars.githubusercontent.com/u/20972207?v=4)](https://github.com/inoas "inoas (1 commits)")

---

Tags

hacktoberfestphpreactphptestingtesting-toolsutilities

### Embed Badge

![Health badge](/badges/api-clients-test-utilities/health.svg)

```
[![Health](https://phpackages.com/badges/api-clients-test-utilities/health.svg)](https://phpackages.com/packages/api-clients-test-utilities)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M679](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M571](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.0k](/packages/orchestra-testbench)

PHPackages © 2026

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