New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

rawphp/laravel-communication-logger

Communication logger for Laravel PHP applications.
37
Install
composer require rawphp/laravel-communication-logger:dev-master
PHP:>=5.6
License:MIT
Last Updated:Jul 24, 2016
Links: GitHub  ·  Packagist
Maintainer: rawphp

Laravel Communication Provider

Build Status

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...

651,963,193 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

407,699,310 4,663