PHPackages                             guzzlehttp/test-server - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. guzzlehttp/test-server

ActiveLibrary[HTTP &amp; Networking](/categories/http)

guzzlehttp/test-server
======================

Node.js server and PHP controller

0.6.0(1w ago)14284.0k↑318.9%29MITPHPPHP ^7.2.5 || ^8.0CI passing

Since Oct 6Pushed 1w ago3 watchersCompare

[ Source](https://github.com/guzzle/test-server)[ Packagist](https://packagist.org/packages/guzzlehttp/test-server)[ RSS](/packages/guzzlehttp-test-server/feed)WikiDiscussions 0.6 Synced 2d ago

READMEChangelog (10)Dependencies (10)Versions (36)Used By (9)

Guzzle test server
==================

[](#guzzle-test-server)

This server has long been part of the Guzzle Http client. Since late 2021 it was extracted to its own package.

The server is useful to use in your integration tests.

Requires Node.js `^20.19 || ^22.13 || >=24` available as `node`.

```
use GuzzleHttp\Server\Server;

Server::start();
register_shutdown_function(static function () {
    Server::stop();
});

Server::enqueue([
    new Response(201),
]);

$myHttpClient = MyClient();
$response = $this->makeRequest('GET', Server::$url);
// $response will be 201

$requests = Server::received();
// $request[0] is the one sent by MyClient
```

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance98

Actively maintained with recent releases

Popularity44

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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 ~123 days

Recently: every ~1 days

Total

15

Last Release

10d ago

Major Versions

0.6.x-dev → 1.0.x-dev2026-06-23

PHP version history (2 changes)0.1.0PHP ^7.2.5 || ^8.0

1.0.x-devPHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/401ccc5eea13c60cf807ae982af00e368e2166e2f26d8eb541dcd881a57385bc?d=identicon)[Nyholm](/maintainers/Nyholm)

---

Top Contributors

[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (21 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (2 commits)")[![denrad](https://avatars.githubusercontent.com/u/720410?v=4)](https://github.com/denrad "denrad (1 commits)")

### Embed Badge

![Health badge](/badges/guzzlehttp-test-server/health.svg)

```
[![Health](https://phpackages.com/badges/guzzlehttp-test-server/health.svg)](https://phpackages.com/packages/guzzlehttp-test-server)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[spatie/crawler

Crawl all internal links found on a website

2.8k18.5M66](/packages/spatie-crawler)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[guzzlehttp/guzzle-services

Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.

25711.0M191](/packages/guzzlehttp-guzzle-services)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)

PHPackages © 2026

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