Search by

pushinbr / pam-http-testing

DavidWilliamBalbino

In-memory HTTP testing utilities for Pam applications.

Package info

github.com/push-in/pam-http-testing

pkg:composer/pushinbr/pam-http-testing

Statistics

Installs: 13

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-08-22 23:55 UTC

This package is auto-updated.

Last update: 2026-09-23 00:28:07 UTC


README

PAM HTTP Testing

Exercise your HTTP application without opening a socket.

In-memory requests, fluent response assertions, fakes, and deterministic test helpers for PAM HTTP applications.

Release CI PHP License

Documentation · Why this exists · What you can build · Quick start · Issues

Why this exists

In-memory requests, fluent response assertions, fakes, and deterministic test helpers for PAM HTTP applications.

Role Testing toolkit
Execution path PHPUnit-compatible in-memory HTTP harness
This repository owns Application-level HTTP test ergonomics
Boundary Transport, TLS, proxy, and kernel behavior still require integration tests

What you can build

  • Fast controller and middleware tests
  • JSON, headers, status, and validation assertions
  • Regression suites for routes without network flakiness

Quick start

pam composer require --dev pushinbr/pam-http-testing

The PAM documentation covers prerequisites, production setup, and the complete workflow. PAM projects keep normal manifests and lockfiles; product features stay in the package that owns them.

Fast in-memory tests for applications built with pushinbr/pam-http.

See it in action

$client = new Pam\Http\Testing\TestClient($app);
$client->get('/users/42')
    ->assertSuccessful()
    ->assertJsonPath('id', '42');

License

Free and open-source under the Apache License 2.0. You may use, modify, and distribute this package for any purpose, including commercially.