rap2hpoutre/laravel-log-viewer


dromedary_camel Laravel 5 log viewer

License: MIT

Language: PHP

Keywords: laravel, laravel-log-viewer, log, log-viewer, lumen, php


Laravel 5 log viewer

Packagist Packagist Packagist Scrutinizer Code Quality Build Status Codacy Badge Author

TL;DR

Log Viewer for Laravel 5 (compatible with 4.2 too) and Lumen. 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 (Laravel)

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 your web routes file:

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

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

Optionally publish log.blade.php into /resources/views/vendor/laravel-log-viewer/ for view customization:

php artisan vendor:publish \
  --provider="Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider" \
  --tag=views

Install (Lumen)

Install via composer

composer require rap2hpoutre/laravel-log-viewer

Add the following in bootstrap/app.php:

$app->register(\Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class);

Explicitly set the namespace in app/Http/routes.php:

$router->group(['namespace' => '\Rap2hpoutre\LaravelLogViewer'], function() use ($router) {
    $router->get('logs', 'LogViewerController@index');
});

Troubleshooting

If you got a InvalidArgumentException in FileViewFinder.php error, it may be a problem with config caching. Double check installation, then run php artisan config:clear.

Project Statistics

Sourcerank 15
Repository Size 137 KB
Stars 1,984
Forks 226
Watchers 64
Open issues 15
Dependencies 4
Contributors 38
Tags 64
Created
Last updated
Last pushed

Top Contributors See all

Raphaël Huchet apreiml Elminson De Oleo Baez Ricardo Cino Scrutinizer Auto-Fixer Limon Monte Iftekhar Rifat Rob Anthony Porthouse Micheal Mand Savaş KARTAL ikeedo Eric Blount Susan Buck Solinx Dan Jeremy Kenedy Seçkin KILINÇ Alexandre Barreira Vania Kucher

Packages Referencing this Repo

rap2hpoutre/laravel-log-viewer
A Laravel log reader
Latest release v1.1.0 - Updated - 1.98K stars

Recent Tags See all

v1.1.1 March 02, 2019
v1.1.0 February 27, 2019
v1.0.0 January 02, 2019
v0.22.1 October 01, 2018
v0.22.0 September 05, 2018
v0.21.0 August 21, 2018
v0.20.0 August 18, 2018
v0.19.1 July 17, 2018
v0.19.0 July 17, 2018
v0.18.1 July 17, 2018
v0.18.0 July 16, 2018
v0.17.0 July 03, 2018
v0.16.0 June 16, 2018
v0.15.0 June 10, 2018
v0.14.3 March 20, 2018

Interesting Forks See all

wangkaibo/laravel-log-viewer
dromedary_camel Laravel 5 log viewer
PHP - Last pushed - 2 stars - 1 forks
rtconner/laravel-log-viewer
dromedary_camel Laravel 5 log viewer
PHP - MIT - Last pushed - 2 stars
educarlabs/laravel-log-viewer
dromedary_camel Laravel 5 log viewer
PHP - Last pushed - 2 stars
FaustineD/laravel-log-viewer
dromedary_camel Laravel 5 log viewer
PHP - MIT - Updated - 1 stars
luqmanrom/laravel-log-viewer
dromedary_camel Laravel 5 log viewer
PHP - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2018-10-24 21:59:44 UTC

Login to resync this repository