loopeer / laravel-log-viewer by dengyongbin
forked from wangkaibo/laravel-log-viewer

A Laravel log reader
379
0
7
Package Data
Maintainer Username: dengyongbin
Maintainer Contact: raphael@ornikar.com (rap2hpoutre)
Package Create Date: 2016-01-25
Package Last Update: 2015-12-31
Home Page: http://twitter.com/raphael_h_
Language: PHP
License: MIT
Last Refreshed: 2024-10-30 15:10:20
Package Statistics
Total Downloads: 379
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 7
Total Forks: 0
Total Open Issues: 0

Laravel 5 log viewer

Packagist Packagist Packagist Scrutinizer Code Quality Build Status SensioLabsInsight

TL;DR

The best (IMO) Log Viewer for Laravel 5 (compatible with 4.2 too). Install with composer, create a route to LogViewerController. No public assets, no vendor routes, works with and/or without log rotate. Inspired by Micheal Mand's Laravel 4 log viewer (works only with laravel 4.1)

What ?

Small log viewer for laravel. Looks like this:

capture d ecran 2014-12-01 a 10 37 18

Install

Install via composer

composer require rap2hpoutre/laravel-log-viewer

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

Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class,

Add a route in app/Http/routes.php (or choose another route):

Route::get('logs', '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index');

Go to http://myapp/logs or some other route