Package Data | |
---|---|
Maintainer Username: | yannice92 |
Maintainer Contact: | yannice92@gmail.com (Fernando Yannice) |
Package Create Date: | 2020-04-11 |
Package Last Update: | 2022-01-10 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2025-01-30 03:04:02 |
Package Statistics | |
---|---|
Total Downloads: | 6,581 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 1 |
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
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