Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.38 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.38 KB

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.