Skip to content

Commit 1d71b17

Browse files
committed
Update README.md
1 parent 7afd98e commit 1d71b17

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
1-
# Epilog: context info in Laravel's logs
1+
# Epilog for Laravel 5
22

33
## What?
44

5-
A package for log nerds. They can view IP, referer, user ID and more for each log entry, and be slack notified on production errors.
5+
Power up logs. Add client context (IP, referer, user ID and more). Notify on slack on production error.
66

7+
## Install
78

8-
Todo: slack is only an option, better code
9+
Install
10+
-------
11+
Install via composer
12+
```
13+
composer require rap2hpoutre/laravel-epilog
14+
```
15+
16+
Add Service Provider to `config/app.php` in `providers` section
17+
```php
18+
Rap2hpoutre\LaravelEpilog\LaravelEpilogServiceProvider::class,
19+
```
20+
21+
(optional) Publish configuration in order to use Slack alerts
22+
```php
23+
php artisan vendor:publish
24+
```
25+
26+
Call `Log::info('hello world')` or whatever you want and go to see your logs.

0 commit comments

Comments
 (0)