php-http/client-integration-tests
Integration test suite for PHP HTTP clients and adapters. Provides a shared test server and PHPUnit testsuite so you can verify that your client correctly implements the PSR-18 and HTTPlug contracts against real HTTP requests.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| guzzle/client-integration-tests | 0.90 | Integration test suite for Guzzle HTTP client implementations. Provides shared fixtures and tests to verify PSR-7/PSR-18 behavior, compatibility, and edge cases across adapters and transports. Designed for package maintainers validating clients. | 0 | — | 0 | — | 0 | 0.0 | — | MIT | — | |
| psr-mock/http-client-implementation | 0.90 | Tiny PSR-18 HTTP client implementation intended for mocking and testing. Provides a simple client you can plug into PSR-7/PSR-17 workflows to return predefined responses without real network calls. | 1 | 1 | 0 | 3K | 0 | 0.6 | 44.8 | MIT | 2 years ago | |
| php-http/httplug-bundle | 0.89 | — | 390 | 391 | 50 | 301K | 5 | 23.4 | 44.3 | MIT | 6 months ago | |
| guzzlehttp/test-server | 0.89 | Guzzle Test Server is a dev-only testing helper that starts a local Node.js HTTP server, letting PHP tests queue responses and inspect received requests for handler and integration tests. | 14 | 14 | 2 | 23K | 0 | 23.4 | 51.4 | MIT | 2 weeks ago | |
| bneumann/mock-api-bundle | 0.89 | — | 2 | 2 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| php-http/mock-client | 0.89 | Mock HTTP client for HTTPlug/PHP-HTTP. Stores outgoing requests and returns queued responses or throws exceptions instead of making real network calls—ideal for unit tests of HTTP-dependent code. Install via Composer as a dev dependency. | 71 | 75 | 16 | 266K | 0 | 6.0 | 49.3 | MIT | 2 years ago | |
| requests/test-server | 0.89 | Minimal PHP HTTP test server used by the Requests for PHP library to run its automated CI test suite. Not intended as a standalone server; install via Composer (requires Composer 2.2+) if needed for local testing. | 2 | 3 | 3 | 408 | 1 | 0.3 | 33.3 | — | — | |
| php-http/client-common | 0.89 | Common utilities for HTTPlug HTTP clients: a BatchClient for parallel requests, a convenience client exposing HTTP verbs as methods, and emulator/decorator layers for sync and async clients. Designed to simplify client composition and tooling. | 1,051 | 1,054 | 55 | 6M | 13 | 22.1 | 57.6 | MIT | 11 months ago | |
| php-http/socket-client | 0.89 | PSR-7/PSR-18 HTTP client built on PHP streams. Supports TCP and UNIX domain sockets, TLS/SSL encryption, and client certificates. Lightweight, dependency-minimal option for making HTTP requests via socket connections. | 81 | 82 | 42 | 115K | 0 | 9.9 | 44.9 | MIT | 9 months ago | |
| psr/http-client | 0.89 | PSR-18 interfaces and common code for HTTP clients in PHP. This package provides the standard abstractions (requests, responses, exceptions) for interoperability, not an actual client implementation. Find compatible implementations on Packagist. | 1,717 | 1,728 | 17 | 29M | 0 | 11.2 | 55.3 | MIT | 3 years ago | |
| psr-mock/http-factory-implementation | 0.88 | Lightweight PSR-17/PSR-7 HTTP factory/message mock implementation for PHP 8.1+. Built for SDKs and libraries to test against PSR interfaces without hard deps, with strict PSR compliance and helpful debugging API. | 0 | 0 | 0 | 4K | 0 | 0.6 | 50.0 | MIT | 2 years ago | |
| psr-mock/http | 0.88 | psr-mock/http is a tiny PHP package for mocking PSR-7 HTTP messages in tests. Create predictable request/response objects without a full HTTP client, helping you unit test middleware, clients, and services with minimal setup. | 1 | 1 | 0 | 1K | 0 | 0.6 | 39.5 | MIT | 2 years ago | |
| psr-discovery/http-client-implementations | 0.88 | Discovers an installed PSR-18 HTTP client at runtime by checking for well-known implementations and returning the first available instance. Ideal for SDKs/libraries to support PSR-18 without hard dependencies or extra user configuration. | 7 | 7 | 5 | 725K | 0 | 9.2 | 58.6 | MIT | 7 months ago | |
| jcchavezs/httptest | 0.88 | Spin up a lightweight local HTTP server for integration testing real HTTP calls (e.g., cURL). Define a request handler to assert method/headers/body and craft responses, enabling client- and server-side assertions without mocking HTTP. | 9 | 9 | 1 | 199 | 2 | 1.7 | 18.2 | — | 8 years ago | |
| php-http/httplug | 0.88 | HTTPlug provides HTTP client abstraction interfaces for PHP, built on PSR-7 messages. Defines async HttpAsyncClient plus a sync HttpClient similar to PSR-18, enabling libraries to stay client-agnostic while supporting multiple HTTP implementations. | 2,586 | 2,599 | 40 | 7M | 1 | 18.2 | 47.4 | MIT | 2 years ago | |
| php-mock/php-mock | 0.88 | Mock built-in PHP functions like time() or rand() in tests by leveraging PHP’s namespace fallback: define namespaced replacements for unqualified calls. Works in non-global namespaces; supports common test frameworks via integrations (e.g., PHPUnit). | 370 | 375 | 19 | 726K | 3 | 13.0 | 47.8 | WTFPL | 9 months ago | |
| symfony/http-client-contracts | 0.88 | Symfony HttpClient Contracts provides stable interfaces for HTTP clients and responses, extracted from Symfony. Build libraries against these battle-tested abstractions and swap implementations easily while staying compatible with Symfony’s HttpClient ecosystem. | 1,974 | 1,975 | 0 | 13M | 0 | 28.9 | 60.6 | MIT | 2 months ago | |
| mcustiel/phiremock-client | 0.88 | PHP client for Phiremock Server with a fluent API to define HTTP expectations, manage scenarios, and reset server state. Works with Guzzle 6 by default, or any PSR-18 HTTP client by overriding the factory for custom connections. | 16 | 16 | 9 | 11K | 1 | 17.1 | 43.6 | GPL-3.0 | 7 months ago | |
| draw/http-tester | 0.88 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| symfony/http-client | 0.88 | Symfony HttpClient provides powerful methods to fetch HTTP resources synchronously or asynchronously, with a clean API for building requests, handling responses, streaming, and testing HTTP calls in PHP applications. | 2,029 | 2,043 | 53 | 15M | 0 | 46.7 | 62.8 | MIT | 3 days ago |
How can I help you explore Laravel packages today?