PHPackages                             gokure/hyperf-http-logger - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. gokure/hyperf-http-logger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

gokure/hyperf-http-logger
=========================

Log HTTP requests and responses for Hyperf.

v3.2.0(2mo ago)5826MITPHPPHP &gt;=8.2

Since May 11Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/gokure/hyperf-http-logger)[ Packagist](https://packagist.org/packages/gokure/hyperf-http-logger)[ RSS](/packages/gokure-hyperf-http-logger/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (4)Dependencies (11)Versions (8)Used By (0)

A HTTP Requests Logger for Hyperf
=================================

[](#a-http-requests-logger-for-hyperf)

A middleware which can log incoming requests and responses to the log.

Installation
------------

[](#installation)

Require the `gokure/hypref-http-logger` package in your `composer.json` and update your dependencies:

```
composer require gokure/hypref-http-logger
```

Optionally you can publish the configuration file with:

```
php bin/hyperf.php vendor:publish gokure/hypref-http-logger
```

Usage
-----

[](#usage)

To allow HTTP Logger in your application, add the `HttpLoggerMiddleware` middleware at the top of the property of `config/autoload/middlewares.php` file in the config (see Configuration below):

```
'http' => [
    \Gokure\HttpLogger\HttpLoggerMiddleware::class,
    ...
],
```

License
-------

[](#license)

Released under the MIT License, see [LICENSE](LICENSE).

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance87

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity70

Established project with proven stability

 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 ~309 days

Recently: every ~251 days

Total

7

Last Release

65d ago

Major Versions

1.0.x-dev → v3.0.02023-09-11

PHP version history (4 changes)v1.0.0PHP &gt;= 7.2

v3.0.0PHP &gt;= 8.0

v3.1.0PHP &gt;=8.0

v3.2.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2db6a5e19964c28865f3c11a012d8b7d68cd38e96c2f4faf7411a83b1f469ae?d=identicon)[gokure](/maintainers/gokure)

---

Top Contributors

[![gokure](https://avatars.githubusercontent.com/u/88591?v=4)](https://github.com/gokure "gokure (18 commits)")

---

Tags

requestloggerhyperfrequest loggerhttp-logger

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/gokure-hyperf-http-logger/health.svg)

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

###  Alternatives

[friendsofhyperf/sentry

The sentry component for Hyperf.

1977.7k](/packages/friendsofhyperf-sentry)[mineadmin/mineadmin

Quickly build a background management system for web applications

1.2k2.3k](/packages/mineadmin-mineadmin)[hyperf/xxl-job-incubator

php hyperf xxljob

4839.8k19](/packages/hyperf-xxl-job-incubator)

PHPackages © 2026

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