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

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

yiche/http
==========

v1.1(7y ago)011PHPPHP &gt;=7.0.0

Since Apr 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/saasyc-inc/http)[ Packagist](https://packagist.org/packages/yiche/http)[ RSS](/packages/yiche-http/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

http
====

[](#http)

http请求

集成
--

[](#集成)

```
composer require yiche/http:dev-master
```

使用
--

[](#使用)

```
use Yiche\Http\HttpClient;

//get
$http = new HttpClient();
$body = $http->get('https://www.baidu.com', ['a' => '111']);

//post
$http = new HttpClient();
$body = $http->post('https://www.baidu.com', json_encode(['a' => '111']));
```

版本更新
====

[](#版本更新)

### 1.1版本

[](#11版本)

- $http-&gt;setReqSaveLog(true/false);动态关闭该服务是否写入查询日志
- 修复日志写入生成id构造方法放入具体调用生成

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.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 ~1 days

Total

2

Last Release

2682d ago

### Community

Maintainers

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

---

Top Contributors

[![Sentiger](https://avatars.githubusercontent.com/u/6236245?v=4)](https://github.com/Sentiger "Sentiger (11 commits)")[![saasyc](https://avatars.githubusercontent.com/u/49138379?v=4)](https://github.com/saasyc "saasyc (4 commits)")

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k52](/packages/neuron-core-neuron-ai)[illuminate/http

The Illuminate Http package.

11938.5M8.1k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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