Log all your HTTP request to ECS (Elastic Common Sheme) compliance format data into your selected logging channel.
Add mamitech/laravel-http-logger
to composer.json
Register the service provider in providers
array in config/app.php
'providers' => [
// ...
Mamitech\LaravelHTTPLogger::class,
// ...
],
Publish the config
todo
Set logging channel in config to where you want the HTTP log being sent to.
todo
Once you add the service provider and middleware to your Laravel application, all HTTP request should be logged to logging channel of your choice.
Run
./vendor/bin/phpunit
The MIT License (MIT). Please see License File for more information.