pushinbr / pam-http-testing
In-memory HTTP testing utilities for Pam applications.
v1.0.0
2026-08-22 23:55 UTC
Requires
- php: ^8.4
- pushinbr/pam-contracts: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Fast in-memory tests for applications built with pushinbr/pam-http.
Start here
PAM HTTP Testing is a Composer package for applications running on the PAM Runtime; it is not a standalone test runtime. Install PAM first, open your application directory, and add the development package through PAM's Composer toolchain:
curl --proto '=https' --proto-redir '=https' --tlsv1.2 \ --connect-timeout 15 --max-time 60 --max-filesize 1048576 -fsSL \ https://github.com/push-in/pam/releases/latest/download/install.sh | sh pam doctor cd my-app pam composer require --dev pushinbr/pam-http-testing
$client = new Pam\Http\Testing\TestClient($app); $client->get('/users/42') ->assertSuccessful() ->assertJsonPath('id', '42');
The client invokes the application pipeline without opening a network port. Use Pam's Rust integration suite for transport, timeout and protocol behavior.
License
Free and open-source under the Apache License 2.0. You may use, modify, and distribute this package for any purpose, including commercially.