mic/log-like-rails

A package for Laravel 4 to log every requests and input like Ruby On Rails.
53 3
Install
composer require mic/log-like-rails
PHP:>=5.4.0
Last Updated:Sep 10, 2014
Links: GitHub  ·  Packagist
Maintainer: michelloworld

Laravel 4 - LogLikeRails

A package for Laravel 4 to log every requests and input like Ruby On Rails.

*** YOU DON'T HAVE TO ADD LOG BY YOURSELF. THIS PACKAGE WILL LOG EVERY REQUEST.

Log-Like-Rails Example

Installation

Add LogLikeRails as a requirement to composer.json:

{
  ...
  "require": {
    ...
    "mic/log-like-rails": "dev-master"
    ...
  },
}

Update composer:

    php composer.phar update

Add the provider to your app/config/app.php:

  'providers' => array(
  
    ...
    
    'Mic\LogLikeRails\LogLikeRailsServiceProvider',
    
  ),

Publish package config:

  php artisan config:publish mic/log-like-rails