PackageTrack
Sign in Get early access

pear/http_request2

Provides an easy way to perform HTTP requests.

v2.7.0 4.4M downloads/mo #4296 most downloaded on Packagist pear/HTTP_Request2

What this package is like to depend on

Last release 1 years ago

06 Apr 2025

Release timing varies

gaps range from 2 months to 4.4 years

Nearly every release is documented

notes for 9 of 10 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

10 releases · first in 2014

0 releases in the last 12 months

see the full history below

Release timeline

10 releases · Jan 2014 to Apr 2025
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 10
  1. v2.7.0 06 Apr 2025
    Release notes
    • Tested on PHP 8.4, psalm 6 used for static analysis;
    • Prevent XSS if PHP files backing networked tests (those in tests/_network directory) are served from a publicly available website.
    Open source →
    Release notes

    Added

    • Tested on PHP 8.4;
    • Psalm 6 used for static analysis;
    • Updated Public Suffix List.

    Fixed

    • Prevent XSS when PHP files backing server-side tests are served from a publicly available website, thanks to Peter Potrowl (peter017 at gmail dot com) for the report.
    • data/generate-list.php will only run with a command-line SAPI.
    • Better random value used for cnonce parameter in Digest authentication, see [issue #30]. Digest authentication should be considered deprecated, however.
    • psalm.xml configuration file is no longer installed by composer.
    Open source →
  2. v2.6.0 01 Nov 2023
    Release notes
    • Use psalm for static analysis, several minor issues fixed
    • Correctly parse HTTP status line with an empty reason-phrase (see #26)
    • Updated Public Suffix List
    Open source →
    Release notes
    • Tested on PHP 8.2 and 8.3
    • Use [psalm] for static analysis, several minor issues fixed
    • Correctly parse HTTP status line with an empty reason-phrase (see [pull request #26])
    • Updated Public Suffix List
    Open source →
  3. v2.5.1 06 Jan 2022
    Release notes
    • The package runs under PHP 8.1 without E_DEPRECATED messages (see [issue #25])
    • Updated Public Suffix List
    Open source →
  4. v2.5.0 12 Jul 2021
    Release notes

    Fixed

    • Socket adapter will now retry writing to socket rather than throw an exception if fwrite() call returns zero written bytes ([issue #23])

    Changed

    • Socket adapter will use only TLS 1.2 and TLS 1.3 (the latter is available on PHP 7.4+)
    • Upgraded tests for PHPUnit 9 compatibility, [PHPUnit Polyfills package] is used to run them on PHP 5.6 to PHP 8
    • Test suite now runs on Github Actions rather than on Travis
    • Updated Public Suffix List
    Open source →
  5. v2.4.2 24 Sep 2020
    Release notes

    Fix Socket adapter prematurely stopping receiving the response body

    Open source →
    Release notes

    Fixed

    Socket adapter could prematurely end receiving the response body due to fread() call returning an empty string

    Open source →
  6. v2.4.1 01 Aug 2020
    Release notes

    Fixed

    • Switch socket to blocking mode when enabling crypto, this fixes HTTPS requests through proxy with Socket adapter ([issue #20])
    • Add .gitattributes file to omit installing tests ([issue #19])
    Open source →
  7. v2.4.0 26 Jul 2020
    Release notes
    • Minimum required version is now PHP 5.6, as using older versions for HTTPS requests may be insecure
    • Removed support for magic_quotes_runtime, as get_magic_quotes_runtime() was deprecated in PHP 7.4 and the functionality itself was disabled since PHP 5.4 (PEAR bug #23839)
    • Socket adapter now uses socket in non-blocking mode, as some configurations could have problems with timeouts in HTTPS requests (PEAR bug #21229)
    • Fixed bogus size check error with gzipped responses larger than 4 GiB uncompressed (PEAR bug #21239)
    • Use current "Intermediate compatibility" cipher list
    • Updated Public Suffix List

    The package is now 100% autoload-compatible, when installed with composer it no longer uses include-path and does not contain require_once statements

    Open source →
  8. v2.3.0 13 Feb 2016

    Nothing published for this version

  9. v2.2.1 16 Jan 2014
    Release notes

    Release HTTP_Request2 2.2.1

    Open source →
  10. v2.2.0 12 Jan 2014
    Release notes

    Release HTTP_Request2 2.2.0

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive