Search by

localzet / http

localzet

Asynchronous HTTP requests and connection pooling for Localzet Server.

Package info

github.com/localzet/HttpClient

pkg:composer/localzet/http

Fund package maintenance!

localzet

Statistics

Installs: 218

Dependents: 1

Suggesters: 0

Stars: 23

Open Issues: 0

v3.0.0 2026-11-02 11:41 UTC

README

Русская документация

Asynchronous HTTP requests and connection pooling for Localzet Server.

Status and compatibility

The current client class is localzet\HTTP\Client. Unit tests cover option merging, and a loopback integration test covers a queued asynchronous connection and response. Redirect handling, TLS verification, streaming, cancellation and connection-pool lifecycle are not covered by the current integration suite.

The v3.0.0 tag targets Localzet Server 7 and PSR-7 4. The older v2.0.2 tag targets Server 4.2 and PSR-7 3.

Dependencies

  • php: ^8.2
  • ext-curl: *
  • ext-json: *
  • localzet/server: ^7.0
  • localzet/psr7: ^4.0
  • psr/http-message: ^2.0

Installation

composer require localzet/http:^3.0

Use the package versions that match your Server installation: localzet/http:^3.0 with Server 7 and PSR-7 4, or localzet/http:^2.0 with Server 4.2 and PSR-7 3. Upgrade these packages together.

Development checks

composer validate --strict
composer install
composer dump-autoload --optimize --strict-psr
composer audit
composer run test
composer run test:integration

The integration command runs a local HTTP fixture; it does not establish TLS behavior or production readiness.

Historical usage notes need verification against the current API.

Author and license

Ivan Zorin (localzet), creator@localzet.com, https://www.localzet.com. Source: https://github.com/localzet/HttpClient. AGPL-3.0-or-later; LICENSE. Original copyright and third-party licenses remain applicable.

Authors · Contributing · Security