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 2w 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

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

2637d 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

[spatie/crawler

Crawl all internal links found on a website

2.8k18.5M59](/packages/spatie-crawler)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k34](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[guzzlehttp/guzzle-services

Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.

25711.0M188](/packages/guzzlehttp-guzzle-services)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.7M18](/packages/xeroapi-xero-php-oauth2)[onesignal/onesignal-php-api

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

35216.9k2](/packages/onesignal-onesignal-php-api)

PHPackages © 2026

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