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

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

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

Easy sdk http-client component.

2.0.0(5y ago)140MITPHPPHP &gt;=5.5

Since Aug 2Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (6)Used By (0)

简介
--

[](#简介)

Easy sdk HttpClient扩展组件包

[![Latest Stable Version](https://camo.githubusercontent.com/27f0391955fcad67a6df6ca7d4e98c04e2bf0596a652bdee93757fc1fb998362/68747470733a2f2f706f7365722e707567782e6f72672f662d6f7269732f656173792d73646b2d68747470636c69656e742f76)](//packagist.org/packages/f-oris/easy-sdk-httpclient) [![Total Downloads](https://camo.githubusercontent.com/b701f76f3be144ca704edb67aab7d9233a9fb6fa965b128a7f6bf5fc8d872f97/68747470733a2f2f706f7365722e707567782e6f72672f662d6f7269732f656173792d73646b2d68747470636c69656e742f646f776e6c6f616473)](//packagist.org/packages/f-oris/easy-sdk-httpclient) [![Latest Unstable Version](https://camo.githubusercontent.com/f221d716de139402d11f5a33f3063fc215347a2d0dca61f576a2adbe6a966400/68747470733a2f2f706f7365722e707567782e6f72672f662d6f7269732f656173792d73646b2d68747470636c69656e742f762f756e737461626c65)](//packagist.org/packages/f-oris/easy-sdk-httpclient) [![License](https://camo.githubusercontent.com/4fb2ec792d9aeb261129e7beb6702e0abcff78b6644be10ee89daca73cf36735/68747470733a2f2f706f7365722e707567782e6f72672f662d6f7269732f656173792d73646b2d68747470636c69656e742f6c6963656e7365)](//packagist.org/packages/f-oris/easy-sdk-httpclient)

安装
--

[](#安装)

通过composer引入扩展包

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

Publish配置信息

```
php artisan vendor:publish --provider="Foris\Easy\Sdk\HttpClient\ServiceProvider"
```

使用
--

[](#使用)

通过服务容器，获取HttpClient实例，按照[easy-httpclient](https://github.com/itsanr-oris/easy-httpclient)使用说明进行调用即可

```
