Provides middleware to log full request and response to some storage instance.
eventix/requestlog is a Laravel package for provides middleware to log full request and response to some storage instance..
It currently has 0 GitHub stars and 2.339 downloads on Packagist.
Install it with composer require eventix/requestlog.
Discover more Laravel packages by eventix
or browse all Laravel packages to compare alternatives.
Last updated
Make sure Elasticsearch is running and a requests index exists
(For Eventix Team: https://bitbucket.org/eventix/eventix-3.0/wiki/Request%20Logging%20/%20Elasticsearch)
Add Eventix\RequestLog\RequestLogServiceProvider::class to config/app.php (ServiceProviders)
Add \Eventix\RequestLog\Middleware\RequestLogMiddleware::class to app/http/Kernel.php to the global middleware
Add to your .env
REQUEST_LOG_HOST=localhost:9200
REQUEST_LOG=true