PHPackages                             workerman/http-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. workerman/http-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

workerman/http-client
=====================

v3.1.1(1mo ago)5678.2k↓24%18[9 issues](https://github.com/workerman-php/http-client/issues)18MITPHPCI failing

Since Oct 21Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/workerman-php/http-client)[ Packagist](https://packagist.org/packages/workerman/http-client)[ Docs](https://www.workerman.net)[ RSS](/packages/workerman-http-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (12)Versions (41)Used By (18)

Http client
===========

[](#http-client)

Asynchronous http client for PHP based on workerman.

- Asynchronous requests.
- Uses PSR-7 interfaces for requests, responses.
- Build-in connection pool.
- Support Http proxy.
- Support Socks5 proxy. (include authenticated)
- Parallel Request. (use 'revolt/event-loop')

Installation
============

[](#installation)

`composer require workerman/http-client`

Examples
========

[](#examples)

**example.php**

```
