PHPackages                             yurunsoft/guzzle-swoole - 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. yurunsoft/guzzle-swoole

ActiveComposer-plugin[HTTP &amp; Networking](/categories/http)

yurunsoft/guzzle-swoole
=======================

让 Guzzle 支持 Swoole 协程，可以用于 ElasticSearch、AWS 等 SDK 当中

v2.2.4(4y ago)166118.5k↓27.9%20[2 issues](https://github.com/Yurunsoft/Guzzle-Swoole/issues)7MITPHPPHP &gt;=7.1

Since Aug 1Pushed 4y ago3 watchersCompare

[ Source](https://github.com/Yurunsoft/Guzzle-Swoole)[ Packagist](https://packagist.org/packages/yurunsoft/guzzle-swoole)[ RSS](/packages/yurunsoft-guzzle-swoole/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (30)Used By (7)

Guzzle-Swoole
=============

[](#guzzle-swoole)

[![Latest Version](https://camo.githubusercontent.com/e880d7b7e02ad65132f7220adc21d9ec94e7ef244270aed39180aea01b3c34ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f797572756e736f66742f67757a7a6c652d73776f6f6c652e737667)](https://packagist.org/packages/yurunsoft/guzzle-swoole)[![Php Version](https://camo.githubusercontent.com/315f5c30e505b9ccc4178451bbd34c2ba5d281d1fa3267304053ed19ab634125/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d372e312d627269676874677265656e2e737667)](https://secure.php.net/)[![Swoole Version](https://camo.githubusercontent.com/d4c3f444f34cdcff0704eef6f3ca617a2839c9e65b4d16b0c16f05456e687b8c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73776f6f6c652d2533453d342e302e302d627269676874677265656e2e737667)](https://github.com/swoole/swoole-src)[![IMI License](https://camo.githubusercontent.com/470420d0e5988f6a15954b5659e452aa5044eb7a967e90805ebb94f520a24345/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f597572756e736f66742f47757a7a6c652d53776f6f6c652e737667)](https://github.com/Yurunsoft/Guzzle-Swoole/blob/master/LICENSE)

介绍
--

[](#介绍)

guzzle-swoole 可以无损支持 Guzzle 在 Swoole 协程环境下的运行，不需要修改任何一行第三方包代码，即可支持协程化。

支持 Guzzle v6.x、v7.x。

支持 Composer v1.x、v2.x。

可以用于 `ElasticSearch`、`AWS` 等 SDK 当中。

兼容所有 Swoole 框架。

QQ群：17916227 [![点击加群](https://camo.githubusercontent.com/75b53e353bb9e5064662e185a6d39f4bb88c4e45bd3a1240ddf599525edb6afa/68747470733a2f2f7075622e69647171696d672e636f6d2f7770612f696d616765732f67726f75702e706e67 "点击加群")](https://jq.qq.com/?_wv=1027&k=5wXf4Zq)

使用说明
----

[](#使用说明)

### 安装

[](#安装)

手动改 `composer.json`：`"yurunsoft/guzzle-swoole":"^2.2"`

命令行安装：`composer require yurunsoft/guzzle-swoole`

### 全局设定处理器

[](#全局设定处理器)

```
