Skip to content

rap2hpoutre/laravel-epilog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Epilog for Laravel 5

Packagist Packagist Scrutinizer Code Quality Build Status SensioLabs Insight

What?

Power up logs. Add client context (IP, referer, user ID and more). Notify on slack on production error.

test

Install

Install via composer

composer require rap2hpoutre/laravel-epilog

Add Service Provider to config/app.php in providers section

Rap2hpoutre\LaravelEpilog\LaravelEpilogServiceProvider::class,

(optional) Publish configuration in order to use Slack alerts

php artisan vendor:publish

Call Log::info('hello world') or whatever you want and go to see your logs.