PackageTrack
Sign in Get early access

php-http/socket-client

Socket client for PHP-HTTP

2.4.0 2.8M downloads/mo #3133 most downloaded on Packagist php-http/socket-client

What this package is like to depend on

Last release 7 months ago

10 Jan 2026

Ships fairly regularly

a new release about every 10 months

Most releases are documented

notes for 14 of 16 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

17 releases · first in 2015

1 release in the last 12 months

see the full history below

Release timeline

17 releases · Dec 2015 to Jan 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 17
  1. 2.4.0 10 Jan 2026
    Release notes
    • Allow installation with Symfony 8.
    • Cleaned up testing and use the integration tests version 4.
    Open source →
    Release notes
    • Allow installation with Symfony 8.
    • Cleaned up testing and use the integration tests version 4.
    Open source →
    Release notes

    2.4.0 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 2.3.0 01 Sep 2024
    Release notes
    • Fixed compatibility with psr/http-message v2
    • The Http\Client\Socket\Stream has BC breaks if you extended it. It is not meant to be extended, declaring it as @internal now.
    Open source →
    Release notes
    • Fixed compatibility with psr/http-message v2
    • The Http\Client\Socket\Stream has BC breaks if you extended it. It is not meant to be extended, declaring it as @internal now.
    Open source →
    Release notes

    2.3.0

    Compare

    Choose a tag to compare

    Open source →
  3. 2.2.0 19 Feb 2024
    Release notes
    • Allow installation with Symfony 7
    Open source →
    Release notes
    • Allow installation with Symfony 7
    Open source →
    Release notes

    2.2.0

    Compare

    Choose a tag to compare

    Open source →
  4. 2.1.1 19 Aug 2022
    Release notes
    • Fixed constructor to work nicely with version 1 style arguments (e.g. HttplugBundle)
    • Fixed PHP 8 compatibility for stream timeouts
    • Renamed master branch to 2.x for semantic branch naming.
    • Add Symfony 6 compatibility
    Open source →
    Release notes
    • Fixed constructor to work nicely with version 1 style arguments (e.g. HttplugBundle)
    • Fixed PHP 8 compatibility for stream timeouts
    • Renamed master branch to 2.x for semantic branch naming.
    • Add Symfony 6 compatibility
    Open source →
    Release notes

    2.1.1

    Compare

    Choose a tag to compare

    Open source →
  5. 2.1.0 11 Jan 2021
    Release notes
    • Support for PHP8
    Open source →
    Release notes
    • Add php 8 compatibility
    Open source →
    Release notes

    2.1.0

    Compare

    Choose a tag to compare

    Open source →
  6. 2.0.2 22 Oct 2020
    Release notes

    See Change log for changes.

    Open source →
    Release notes
    • Fixed composer "provide" section to say that we provide psr/http-client-implementation
    Open source →
    Release notes

    Release 2.0.2

    Compare

    Choose a tag to compare

    Open source →
  7. 2.0.1 16 Oct 2020
    Release notes

    Fix wrong call to trigger_error

    Open source →
    Release notes
    • Fix wrong call to trigger_error
    Open source →
    Release notes

    2.0.1

    Compare

    Choose a tag to compare

    Open source →
  8. 2.0.0 22 Sep 2020
    Release notes

    Merge pull request #48 from php-http/feature/remove-async

    Remove support for async extension

    Open source →
    Release notes
    • Remove response and stream factory, use direct implementation of nyholm/psr7
    • PSR18 and HTTPlug 2 support
    • Remove support for php 5.5, 5.6, 7.0 and 7.1
    • SSL Method now defaults to STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT
    Open source →
    Release notes

    2.0.0

    Compare

    Choose a tag to compare

    Open source →
  9. 2.0.0-beta1 11 Dec 2019 pre-release

    Nothing published for this version

  10. v1.4.1 30 Nov 2017
    Release notes
    • Fixed: Wrong parameters error when TimeoutException is thrown
    Open source →
    Release notes

    Release 1.4.1

    Compare

    Choose a tag to compare

    Open source →
  11. v1.4.0 29 Nov 2017
    Release notes
    • Support for Symfony 4
    Open source →
  12. v1.3.0 08 Jul 2017
    Release notes
    • Make sure Stream::__toString never throws exception
    • Added more exception
      • BrokenPipeException
      • ConnectionException
      • InvalidRequestException
      • SSLConnectionException
    Open source →
  13. v1.2.0 25 Jul 2016
    Release notes
    • Dropped PHP 5.4 support
    • Using stable version of php-http/discovery
    Open source →
  14. v1.1.0 25 Feb 2016
    Release notes
    • Added discovery as hard dependency
    • Reading more bytes than expected in a stream now returns the remaining content instead of throwing an Error
    Open source →
  15. v1.0.0 26 Jan 2016
    Release notes

    Initial release

    Open source →
  16. v0.2.0 01 Jan 2016

    Nothing published for this version

  17. v0.1.0 18 Dec 2015

    Nothing published for this version

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