| Package Data | |
|---|---|
| Maintainer Username: | samuelerwardi |
| Maintainer Contact: | yannice92@gmail.com (Fernando Yannice) |
| Package Create Date: | 2022-01-09 |
| Package Last Update: | 2022-03-03 |
| Language: | PHP |
| License: | Unknown |
| Last Refreshed: | 2025-11-03 15:25:00 |
| Package Statistics | |
|---|---|
| Total Downloads: | 3,001 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 0 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
This library for write log using intercept request and response middleware
Use [Composer] to install the package:
$ composer require yannice92/lumeninterceptor
Make sure if you using php-fpm, add log_limit = 100000 on your php-fpm pool, to prevent multiline output on stdout
Laravel\Lumen\Exceptions\Handler as ExceptionHandler with use Yannice92\LumenInterceptor\Exceptions\BaseHandler;
so it should be class Handler extends BaseHandler
Yannice92\LumenInterceptor\Http\Middleware\LogRequestResponseMiddleware::class in global middleware on bootstrap/app.php
$app->middleware([
Yannice92\LumenInterceptor\Http\Middleware\LogRequestResponseMiddleware::class,
...
]);
X-Request-ID header for correlation Id