PHPackages                             mr5/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. mr5/http-client

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

mr5/http-client
===============

A HTTP client library, easy to use, and clear to use.

1.0.x-dev(12y ago)152MITPHPPHP &gt;=5.3.0

Since May 8Pushed 10y ago1 watchersCompare

[ Source](https://github.com/mr5/HttpClient)[ Packagist](https://packagist.org/packages/mr5/http-client)[ Docs](http://github.com/mr5/HttpClient)[ RSS](/packages/mr5-http-client/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

INTRODUCTION
============

[](#introduction)

[中文文档](README_zh.markdown)

HttpClient is a library for HTTP client library which based on cURL. It has 3 class only, the `HttpClient::execute()`method accept a `HttpClientRequest` object, and return a `HttpClientResponse` object. Most of cURL options can be allocated with `HttpClientRequest` class(such as `getParams`, `postParams`, `referer`, `cookies`, `user-agent` and so on), and the `HttpClientResponse` provide most of HTTP response info, such as cookies, body, headers.

Composer
========

[](#composer)

```
"mr5/http-client": "1.0.*@dev"
```

USAGE
=====

[](#usage)

```
