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 3d 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 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

2590d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3731e6b800b235ddc9340eefe31b741f9abd1885de0fc668e1fc19991de838a?d=identicon)[yiche](/maintainers/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

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)

PHPackages © 2026

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