rawphp/laravel-communication-logger
Laravel Communication Provider
1. Install
As always, we need to pull in some dependencies through Composer.
composer require rawphp/laravel-communication-logger
2. Register Provider
RawPHP\LaravelCommunicationLogger\CommunicationLoggerProvider::class,
3. Register Middleware
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,
],
];
3. Publish Config
php artisan vendor:publish --provider="RawPHP\LaravelCommunicationLogger\CommunicationLoggerProvider"
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
641,106,524
9,700
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
418,291,778
609
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
394,964,158
4,660