eskju / laravel-http-logger
A Laravel 5 package to log HTTP requests
1.0.3
2019-08-13 11:35 UTC
Requires
- php: ^7.1
- illuminate/support: ~5.6.0|~5.7.0
Requires (Dev)
- orchestra/testbench: ~3.6.0|~3.7.0
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2025-05-13 23:54:45 UTC
README
Logger for your Laravel routes
This package is based on https://github.com/spatie/laravel-http-logger Thanks for your great work and awesome packages!
Differences:
- Handled as After-Middleware
- Default-Support for Remote-Logging (via .env)
- Added Treshold Option
- File-Logger Fallback
- Provide a JSON with a lot of information
- Logs SQL queries
- Generates unique request IDs
Usage
composer require eskju/laravel-http-logger
Publish Config
php artisan vendor:publish --provider="Eskju\HttpLogger\HttpLoggerServiceProvider" --tag="config"
Usage
Include the Middleware in your Kernel.php
protected $middleware = [
// ...
\Eskju\HttpLogger\Middlewares\HttpLogger::class
];