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

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

swoft/http-client
=================

HTTP Client Component for Swoft

v1.0.9(7y ago)1139.3k↓84.4%94Apache-2.0PHP

Since Mar 6Pushed 7y ago7 watchersCompare

[ Source](https://github.com/swoft-cloud/swoft-http-client)[ Packagist](https://packagist.org/packages/swoft/http-client)[ RSS](/packages/swoft-http-client/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (4)Versions (13)Used By (4)

Swoft-HTTP-Client
=================

[](#swoft-http-client)

HTTP Client Compoment for Swoft, it's a coroutine http client which looks a lot like Guzzle.

IMPORTANT
=========

[](#important)

SHOULD ALWAYS NOT to modify in the original repository, please modify in [swoft-cloud/swoft-component](https://github.com/swoft-cloud/swoft-component) repository.

Install
=======

[](#install)

`composer require swoft/http-client`

Document
========

[](#document)

LICENSE
=======

[](#license)

Swoft HTTP Client Compoment is open-sourced software licensed under the [Apache license](LICENSE).

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 63.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Recently: every ~45 days

Total

11

Last Release

2787d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12740176?v=4)[swoft](/maintainers/swoft)[@swoft](https://github.com/swoft)

---

Top Contributors

[![huangzhhui](https://avatars.githubusercontent.com/u/12077148?v=4)](https://github.com/huangzhhui "huangzhhui (31 commits)")[![stelin](https://avatars.githubusercontent.com/u/1677543?v=4)](https://github.com/stelin "stelin (9 commits)")[![limingxinleo](https://avatars.githubusercontent.com/u/16648551?v=4)](https://github.com/limingxinleo "limingxinleo (3 commits)")[![wujunze](https://avatars.githubusercontent.com/u/12997869?v=4)](https://github.com/wujunze "wujunze (3 commits)")[![inhere](https://avatars.githubusercontent.com/u/5302062?v=4)](https://github.com/inhere "inhere (1 commits)")[![daydaygo](https://avatars.githubusercontent.com/u/3986303?v=4)](https://github.com/daydaygo "daydaygo (1 commits)")[![aprchen](https://avatars.githubusercontent.com/u/13740363?v=4)](https://github.com/aprchen "aprchen (1 commits)")

---

Tags

clientcoroutinehttphttpclientphpswoftswoolehttpphpclienthttp clientswooleswoft

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/swoft-http-client/health.svg)

```
[![Health](https://phpackages.com/badges/swoft-http-client/health.svg)](https://phpackages.com/packages/swoft-http-client)
```

###  Alternatives

[smi2/phpclickhouse

PHP ClickHouse Client

84711.6M81](/packages/smi2-phpclickhouse)[swlib/saber

Swoole coroutine HTTP client

982149.8k30](/packages/swlib-saber)[swoole/grpc

Grpc PHP Client base on Swoole Http2 Coroutine

19820.0k1](/packages/swoole-grpc)[swoole/etcd-client

Grpc PHP Client base on Swoole Http2 Coroutine

1983.3k1](/packages/swoole-etcd-client)[simpod/clickhouse-client

PHP ClickHouse Client

19132.9k1](/packages/simpod-clickhouse-client)[swoft/http-server

swoft http server component

11177.2k8](/packages/swoft-http-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
