Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rap2hpoutre/laravel-epilog
:cat2: IP, referer, user ID and more in Laravel logs
https://github.com/rap2hpoutre/laravel-epilog
epilog laravel laravel-log-viewer log slack
Last synced: about 2 months ago
JSON representation
:cat2: IP, referer, user ID and more in Laravel logs
- Host: GitHub
- URL: https://github.com/rap2hpoutre/laravel-epilog
- Owner: rap2hpoutre
- License: mit
- Created: 2015-09-11T14:47:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-15T08:03:09.000Z (over 9 years ago)
- Last Synced: 2024-10-14T10:46:26.577Z (2 months ago)
- Topics: epilog, laravel, laravel-log-viewer, log, slack
- Language: PHP
- Homepage:
- Size: 176 KB
- Stars: 25
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Epilog for Laravel 5
[![Packagist](https://img.shields.io/packagist/l/rap2hpoutre/laravel-epilog.svg)](https://packagist.org/packages/rap2hpoutre/laravel-epilog) [![Packagist](https://img.shields.io/packagist/v/rap2hpoutre/laravel-epilog.svg)](https://packagist.org/packages/rap2hpoutre/laravel-epilog) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/rap2hpoutre/laravel-epilog/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/rap2hpoutre/laravel-epilog/?branch=master) [![Build Status](https://scrutinizer-ci.com/g/rap2hpoutre/laravel-epilog/badges/build.png?b=master)](https://scrutinizer-ci.com/g/rap2hpoutre/laravel-epilog/build-status/master) [![SensioLabs Insight](https://insight.sensiolabs.com/projects/ad260efc-ca58-4521-9999-daadf92706d5/mini.png)]()
## What?Power up logs. Add client context (IP, referer, user ID and more). Notify on slack on production error.
![test](https://cloud.githubusercontent.com/assets/1575946/9824692/caeda282-58ce-11e5-9c57-3f186df57a7b.png)
## Install
Install via composer
```
composer require rap2hpoutre/laravel-epilog
```Add Service Provider to `config/app.php` in `providers` section
```php
Rap2hpoutre\LaravelEpilog\LaravelEpilogServiceProvider::class,
```(optional) Publish configuration in order to use Slack alerts
```php
php artisan vendor:publish
```Call `Log::info('hello world')` or whatever you want and go to see your logs.