Download the PHP package switon/http-client without Composer
On this page you can find all versions of the php package switon/http-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package http-client
Switon HTTP Client Package
Switon's JSON-first HTTP client for application services that need typed failures, lifecycle events, pooled host reuse, and response helpers.
Highlights
- Pooled host reuse: repeated calls to the same host reuse the same pooled engine setup.
- Single client entrypoint:
HttpClientInterfacegives app services one injectable HTTP client. - JSON-friendly defaults: shortcut methods and response parsing fit API-style calls.
- Raw request support: non-JSON requests can still use the same client path.
- Layered failures: transport, status, and parsing errors are separated.
- Request tuning: timeout, proxy, TLS, CA, and pool size settings are centralized.
- Lifecycle visibility: request activity is exposed through client events.
Installation
Quick Start
Docs: https://docs.switon.dev/latest/http-client
License
MIT.
All versions of http-client with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3
ext-curl Version *
psr/event-dispatcher Version ^1.0
switon/command Version ^1.0
switon/core Version ^1.0
switon/event Version ^1.0
switon/pool Version ^1.0
ext-curl Version *
psr/event-dispatcher Version ^1.0
switon/command Version ^1.0
switon/core Version ^1.0
switon/event Version ^1.0
switon/pool Version ^1.0
The package switon/http-client contains the following files
Loading the files please wait ...