PHPackages                             f-oris/easy-httpclient - 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. f-oris/easy-httpclient

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

f-oris/easy-httpclient
======================

an easy http client

2.0.2(5y ago)22.3k11MITPHPPHP &gt;=5.5CI failing

Since Aug 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/itsanr-oris/easy-httpclient)[ Packagist](https://packagist.org/packages/f-oris/easy-httpclient)[ RSS](/packages/f-oris-easy-httpclient/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (4)Versions (9)Used By (1)

Foris/Easy/HttpClient
---------------------

[](#foriseasyhttpclient)

基于Guzzlehttp组件包简单封装的Httpclient组件包

[![Build Status](https://camo.githubusercontent.com/427378959864d293903e8693fd3a00074977fa66395eb9416921fcef3ab817f7/68747470733a2f2f7472617669732d63692e636f6d2f697473616e722d6f7269732f656173792d68747470636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/itsanr-oris/easy-httpclient)[![codecov](https://camo.githubusercontent.com/db83cb39a05fb7190c9dc0ca45f0dfd01f67593814a34ae03357c6e0e628c23c/68747470733a2f2f636f6465636f762e696f2f67682f697473616e722d6f7269732f656173792d68747470636c69656e742f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/itsanr-oris/easy-httpclient)[![Latest Stable Version](https://camo.githubusercontent.com/823156922f7f12b857d266a1d5a587be4062d1ad9fc8f5ffadae7647dc97914d/68747470733a2f2f706f7365722e707567782e6f72672f662d6f7269732f656173792d68747470636c69656e742f762f737461626c65)](https://packagist.org/packages/f-oris/easy-httpclient)[![Latest Unstable Version](https://camo.githubusercontent.com/dde54b633403f2fe734c72a8c315d5d251fd5117befc6099326e46a1ea619d44/68747470733a2f2f706f7365722e707567782e6f72672f662d6f7269732f656173792d68747470636c69656e742f762f756e737461626c65)](https://packagist.org/packages/f-oris/easy-httpclient)[![Total Downloads](https://camo.githubusercontent.com/63199b841ce97e464f89bdc9eb8c30247a3b8814f7d6ab4a9a4fe99e894c0563/68747470733a2f2f706f7365722e707567782e6f72672f662d6f7269732f656173792d68747470636c69656e742f646f776e6c6f616473)](https://packagist.org/packages/f-oris/easy-httpclient)[![License](https://camo.githubusercontent.com/ca174debda7eab074f23d58a4d0289a87e8d9d6bb9b18b7ade805cb61dbe14a8/68747470733a2f2f706f7365722e707567782e6f72672f662d6f7269732f656173792d68747470636c69656e742f6c6963656e7365)](LICENSE)

安装
--

[](#安装)

```
composer require f-oris/easy-httpclient:^2.0
```

配置说明
----

[](#配置说明)

参考`config.example.php`文件说明

基本用法
----

[](#基本用法)

#### 1. 发起GET请求

[](#1-发起get请求)

```
