pecl_http

Extended HTTP Support


This HTTP extension aims to provide a convenient and powerful
set of functionality for one of PHPs major applications.

It eases handling of HTTP urls, headers and messages, provides
means for negotiation of a client's preferred content type,
language and charset, as well as a convenient way to send any
arbitrary data with caching and resuming capabilities.

It provides powerful request functionality with support for
parallel requests.

Documentation:
https://mdref.m6w6.name/http

License: BSD-2-Clause

Latest releases

Version Release Download
4.3.1 2025-10-09 pecl_http-4.3.1.tgz
4.3.0 2025-10-09 pecl_http-4.3.0.tgz
4.2.6 2024-11-05 pecl_http-4.2.6.tgz
4.2.4 2023-10-02 pecl_http-4.2.4.tgz
4.2.3 2022-06-10 pecl_http-4.2.3.tgz
Show all releases

Changelog

Version Message
4.3.1 > NOTE: Fixed git tag
* Fix PHP-8.5 compatibility (#150, #149, #148)
* Fix GCC-15 compatibility (#143)
* Add new curl options: default_protocol, protocols, redir_protocols (#146)
* Add recent curl info and options up to v8.12 (c08b957)
4.3.0 * Fix PHP-8.5 compatibility (#150, #149, #148)
* Fix GCC-15 compatibility (#143)
* Add new curl options: default_protocol, protocols, redir_protocols (#146)
* Add recent curl info and options up to v8.12 (c08b957)
4.2.6 * Fix #136 Potential incompatibility with libcurl 8.9.0; add workaround for CURLOPT_INTERFACE for v8.9-8.10
* Fix #137 Potential compilation error with PHP 8.4; php_lcg.h was deprecated in 8.2
4.2.4 * Fix Error using ssl array in options : Could not set option tlsauthtype
(see gh issue #131)
* Fix arginfo wargnings of the internal curl client user handler
* Disable libidn support for v1.36-v1.38 due to broken locale detection
4.2.3 * Fix http\Client::requeue() not updating response callback
Show complete changelog