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.1.0(2y ago)5738MITPHPPHP &gt;=8.0

Since May 11Pushed 5mo 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 4w ago

READMEChangelog (3)Dependencies (5)Versions (6)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

38

—

LowBetter than 84% of packages

Maintenance52

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

5

Last Release

156d ago

Major Versions

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

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

v3.0.0PHP &gt;= 8.0

v3.1.0PHP &gt;=8.0

### 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 (14 commits)")

---

Tags

requestloggerhyperfrequest loggerhttp-logger

### 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

[prettus/laravel-request-logger

HTTP request logger middleware for Laravel

24646.6k1](/packages/prettus-laravel-request-logger)[friendsofhyperf/sentry

The sentry component for Hyperf.

1864.6k](/packages/friendsofhyperf-sentry)

PHPackages © 2026

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