Package Data | |
---|---|
Maintainer Username: | rawphp |
Maintainer Contact: | tom@crazydev.org (Tom Kaczocha) |
Package Create Date: | 2016-07-22 |
Package Last Update: | 2016-07-24 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-24 15:05:43 |
Package Statistics | |
---|---|
Total Downloads: | 37 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
As always, we need to pull in some dependencies through Composer.
composer require rawphp/laravel-communication-logger
RawPHP\LaravelCommunicationLogger\CommunicationLoggerProvider::class,
Add the CommunicationLog middleware to the Kernel middleware array. This allows all requests and responses to be logged.
/**
* The application's route middleware groups.
*
* @var array
*/
protected $middlewareGroups = [
CommunicationsLog::class,
],
];
php artisan vendor:publish --provider="RawPHP\LaravelCommunicationLogger\CommunicationLoggerProvider"