quetzal-studio / request-logger
Request logger for laravel
v0.0.10
2024-04-22 11:47 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,
];