quetzal-studio / request-logger
Request logger for laravel
v0.0.11
2024-11-01 23:34 UTC
Requires
- php: ^7.4|^8.0
README
Install package
composer require quetzal-studio/request-logger
Publish config file
php artisan vendor:publish --tag=request-logger-config
Using middleware
Laravel 9 (and older)
protected $routeMiddleware = [
// ...
'request.logger' => \QuetzalStudio\RequestLogger\Http\Middleware\RequestLogger::class,
];
Laravel 10
protected $middlewareAliases = [
// ...
'request.logger' => \QuetzalStudio\RequestLogger\Http\Middleware\RequestLogger::class,
];