PHPackages                             hhttp/io - 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. hhttp/io

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

hhttp/io
========

用于http 接收与转发 日志留存

1.1.47(1mo ago)01.2k↓58.6%Apache-2.0JavaScriptPHP ^7.2.5 || ^8.0

Since Mar 10Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/kunyuH/hhttp)[ Packagist](https://packagist.org/packages/hhttp/io)[ RSS](/packages/hhttp-io/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (48)Used By (0)

HHTTP
=====

[](#hhttp)

### 简介

[](#简介)

各类io扩展

- http
- 日志记录

### 安装:

[](#安装)

```
composer require hhttp/io
```

### 日志配置

[](#日志配置)

filesystems.php 增加配置:

```
'debug'  => [
    'driver' => 'daily',
    'path'   => storage_path('logs/io/laravel.log'),
    'level'  => 'debug',
    'days'   => 30, # 保留30天 根据具体情况设置
],
```

### http客户端调用(与GuzzleHttp用法一致；增加了请求日志记录)

[](#http客户端调用与guzzlehttp用法一致增加了请求日志记录)

```
$uri = config('http_service.inner_service') . '/api/test';
$res = (new HHttp())->post(
    uri: $uri,
    options: [
        'form_params' => $requestData
    ]
);
$data = $res->getBody()->getContents()
#----------------------------------------------------------------
$uri = config('http_service.inner_service') . '/api/test';
$res = (new HHttp())->post(
    uri: $uri,
    options: [
        'headers' => [
            'Content-Type' => 'application/json'
        ],
        'json' => [
            'card_no' => $account_id,
        ],
    ]
);
$data = $res->getBody()->getContents()

$uri = rtrim(config('apis.family_doctor.url'), DIRECTORY_SEPARATOR) . '/innerapi/xxx';
$res = (new HHttp())->get(
    uri: $uri,
    options: ['query' => $sign_data]
);
$data = json_decode($res->getBody()->getContents(),true);
```

```
- 配置收集的数据清理脚本
- \App\Console\Kernel::schedule方法中增加
```php
    # 应用hoo自定义的定时
    (new \hoo\io\common\Console\Kernel())->schedule($schedule);

```

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance92

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~9 days

Recently: every ~1 days

Total

47

Last Release

41d ago

### Community

Maintainers

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

---

Top Contributors

[![kunyuH](https://avatars.githubusercontent.com/u/38349654?v=4)](https://github.com/kunyuH "kunyuH (57 commits)")

---

Tags

hhttp

### Embed Badge

![Health badge](/badges/hhttp-io/health.svg)

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

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M223](/packages/backpack-crud)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M982](/packages/statamic-cms)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[api-platform/laravel

API Platform support for Laravel

58170.8k13](/packages/api-platform-laravel)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

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

PHPackages © 2026

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