Looking to hire Laravel developers? Try LaraJobs

laravel-http-logger maintained by zipzoft

Description
Laravel Http logger
Author
PA
Last update
2021/07/30 11:49 (dev-master)
License
Links
Downloads
1 256

Comments
comments powered by Disqus

Laravel Http Logger

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,
];