2017 © Pedro Peláez
 

library laravel-communication-logger

Communication logger for Laravel PHP applications.

image

rawphp/laravel-communication-logger

Communication logger for Laravel PHP applications.

  • Sunday, July 24, 2016
  • by rawphp
  • Repository
  • 0 Watchers
  • 0 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel Communication Provider

Build Status, (*1)

1. Install

As always, we need to pull in some dependencies through Composer., (*2)

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., (*3)

/**
 * The application's route middleware groups.
 *
 * @var array
 */
protected $middlewareGroups = [
        CommunicationsLog::class,
    ],
];

3. Publish Config

php artisan vendor:publish --provider="RawPHP\LaravelCommunicationLogger\CommunicationLoggerProvider"

The Versions

24/07 2016