rawphp / laravel-communication-logger
Communication logger for Laravel PHP applications.
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/rawphp/laravel-communication-logger
Requires
- php: >=5.6
 - illuminate/support: ^5.2
 - ramsey/uuid: ^3.4
 - rawphp/communication-logger: ^0
 
Requires (Dev)
- laravel/framework: 5.2.*
 - phpspec/phpspec: ^3.0.0
 - satooshi/php-coveralls: ^1.0
 - sebastian/phpcpd: ^2.0
 - squizlabs/php_codesniffer: ^2.6
 
This package is auto-updated.
Last update: 2025-10-20 11:06:46 UTC
README
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"