zipzoft / laravel-http-logger
Laravel Http logger
Installs: 1 255
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.4||^8.0
- illuminate/support: ^7.0|^8.0
- jenssegers/agent: ^2.6
Requires (Dev)
- orchestra/testbench: ~3.8.0|^4.0|^5.0|^6.0
- phpunit/phpunit: ^8.0|^9.0
README
Installation
composer require zipzoft/laravel-http-logger
Config
php artisan vendor:publish --provider="Zipzoft\HttpLogger\HttpLoggerServiceProvider" --tag="config"
Configuration will be added to config/http-logger.php
Usage
Add the middleware as Global or single route
// in `app/Http/Kernel.php` protected $middleware = [ // ... \Zipzoft\HttpLogger\LogRequestMiddleware::class, ];