PHPackages                             yannice92/lumeninterceptor - 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. yannice92/lumeninterceptor

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

yannice92/lumeninterceptor
==========================

This library for write log using intercept request and response middleware

1.0.1(4y ago)06.6k1PHPPHP ^7.2

Since Apr 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/yannice92/lumeninterceptor)[ Packagist](https://packagist.org/packages/yannice92/lumeninterceptor)[ RSS](/packages/yannice92-lumeninterceptor/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (5)Versions (16)Used By (0)

Lumen Interceptor
=================

[](#lumen-interceptor)

This library for write log using intercept request and response middleware

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

[](#installation)

Use \[Composer\] to install the package:

```
$ composer require yannice92/lumeninterceptor

```

Note
----

[](#note)

Make sure if you using php-fpm, add `log_limit = 100000` on your php-fpm pool, to prevent multiline output on stdout

Usage
-----

[](#usage)

1. Change extended class in app/Exceptions/Handler.php from `Laravel\Lumen\Exceptions\Handler as ExceptionHandler` with `use Yannice92\LumenInterceptor\Exceptions\BaseHandler;`so it should be `class Handler extends BaseHandler`
2. Add `Yannice92\LumenInterceptor\Http\Middleware\LogRequestResponseMiddleware::class` in global middleware on bootstrap/app.php ```
    $app->middleware([
         Yannice92\LumenInterceptor\Http\Middleware\LogRequestResponseMiddleware::class,
         ...
     ]);
    ```
3. Add `X-Request-ID` header for correlation Id

Authors
-------

[](#authors)

- [Fernando Yannice](https://github.com/yannice92)

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% 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 ~45 days

Recently: every ~134 days

Total

15

Last Release

1581d ago

Major Versions

0.1.9 → 1.0.0.x-dev2020-10-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6814117?v=4)[Fernando Yannice](/maintainers/yannice92)[@yannice92](https://github.com/yannice92)

---

Top Contributors

[![yannice92](https://avatars.githubusercontent.com/u/6814117?v=4)](https://github.com/yannice92 "yannice92 (17 commits)")[![samuelerwardi](https://avatars.githubusercontent.com/u/17465726?v=4)](https://github.com/samuelerwardi "samuelerwardi (1 commits)")

### Embed Badge

![Health badge](/badges/yannice92-lumeninterceptor/health.svg)

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299549.3k1](/packages/larabug-larabug)[honeybadger-io/honeybadger-php

Honeybadger PHP library

381.5M4](/packages/honeybadger-io-honeybadger-php)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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