2017 © Pedro Peláez
 

laravel-package laravel-log-viewer

A Laravel log reader

image

rap2hpoutre/laravel-log-viewer

A Laravel log reader

  • Wednesday, July 18, 2018
  • by rap2hpoutre
  • Repository
  • 59 Watchers
  • 1694 Stars
  • 1,244,918 Installations
  • PHP
  • 45 Dependents
  • 1 Suggesters
  • 203 Forks
  • 10 Open issues
  • 61 Versions
  • 10 % Grown

The README.md

Laravel log viewer

Packagist Packagist Packagist Scrutinizer Code Quality Author, (*1)

TL;DR

Log Viewer for Laravel 5, 6, 7, 8, 9 & 10 (still 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), (*2)

What ?

Small log viewer for laravel. Looks like this:, (*3)

capture d ecran 2014-12-01 a 10 37 18, (*4)

Install (Laravel)

Install via composer, (*5)

composer require rap2hpoutre/laravel-log-viewer

Add Service Provider to config/app.php in providers section, (*6)

Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class,

Add a route in your web routes file:, (*7)

Route::get('logs', [\Rap2hpoutre\LaravelLogViewer\LogViewerController::class, 'index']);

Go to http://myapp/logs or some other route, (*8)

Install (Lumen)

Install via composer, (*9)

composer require rap2hpoutre/laravel-log-viewer

Add the following in bootstrap/app.php:, (*10)

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

Explicitly set the namespace in app/Http/routes.php:, (*11)

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

Advanced usage

Customize view

Publish log.blade.php into /resources/views/vendor/laravel-log-viewer/ for view customization:, (*12)

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

Edit configuration

Publish logviewer.php configuration file into /config/ for configuration customization:, (*13)

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

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., (*14)

The Versions

18/07 2018

dev-master

9999999-dev

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

17/07 2018

v0.19.1

0.19.1.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

17/07 2018

v0.19.0

0.19.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

17/07 2018

v0.18.1

0.18.1.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

16/07 2018

v0.18.0

0.18.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

03/07 2018

v0.17.0

0.17.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

03/07 2018

dev-scrutinizer-patch-3

dev-scrutinizer-patch-3

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

16/06 2018

v0.16.0

0.16.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

16/06 2018

dev-scrutinizer-patch-2

dev-scrutinizer-patch-2

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

10/06 2018

v0.15.0

0.15.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

20/03 2018

v0.14.3

0.14.3.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

20/03 2018

v0.14.2

0.14.2.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

20/03 2018

v0.14.1

0.14.1.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

20/03 2018

v0.14.0

0.14.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

07/03 2018

v0.13.0

0.13.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

01/03 2018

v0.12.0

0.12.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

27/02 2018

v0.11.2

0.11.2.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

23/02 2018

v0.11.1

0.11.1.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

17/11 2017

v0.11.0

0.11.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

29/06 2017

v0.10.4

0.10.4.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

19/06 2017

v0.10.3

0.10.3.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

28/05 2017

v0.10.2

0.10.2.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

25/05 2017

v0.10.1

0.10.1.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

23/04 2017

v0.10.0

0.10.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

06/04 2017

v0.9.0

0.9.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

13/03 2017

v0.8.1

0.8.1.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

15/12 2016

v0.8.0

0.8.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

24/11 2016

v0.7.1

0.7.1.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

laravel log lumen logging log-viewer log-reader

23/06 2016

v0.7.0

0.7.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

03/05 2016

v0.6.1

0.6.1.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

10/03 2016

v0.6.0

0.6.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

25/01 2016

v0.5.3

0.5.3.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

29/12 2015

v0.5.2

0.5.2.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

29/12 2015

v0.5.1

0.5.1.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

24/12 2015

v0.5.0

0.5.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

13/10 2015

v0.4.3

0.4.3.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

14/09 2015

v0.4.2

0.4.2.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

20/08 2015

v0.4.1

0.4.1.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

19/07 2015

v0.4.0

0.4.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

05/06 2015

v0.3.0

0.3.0.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

04/05 2015

v0.2.8

0.2.8.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

22/04 2015

v0.2.7

0.2.7.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

14/04 2015

v0.2.6

0.2.6.0

A Laravel log reader

  Sources   Download

MIT

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

12/04 2015

v0.2.5

0.2.5.0

A Laravel log reader

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

10/04 2015

v0.2.4

0.2.4.0

A Laravel log reader

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

10/04 2015

v0.2.3

0.2.3.0

A Laravel log reader

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

07/04 2015

v0.2.2

0.2.2.0

A Laravel log reader

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

23/03 2015

v0.2.1

0.2.1.0

A Laravel log reader

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

23/03 2015

v0.2.0

0.2.0.0

A Laravel log reader

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

27/02 2015

v0.1.10

0.1.10.0

A Laravel log reader

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

22/02 2015

v0.1.9

0.1.9.0

A Laravel log reader

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

17/02 2015

v0.1.8

0.1.8.0

A Laravel log reader

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

05/02 2015

v0.1.7

0.1.7.0

A Laravel log reader

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

02/02 2015

dev-scrutinizer-patch-1

dev-scrutinizer-patch-1

A Laravel log reader

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

log logging log-viewer log-reader

08/01 2015

v0.1.6

0.1.6.0

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

02/01 2015

v0.1.5

0.1.5.0

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

29/12 2014

v0.1.4

0.1.4.0

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

04/12 2014

v0.1.3

0.1.3.0

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

01/12 2014

v0.1.2

0.1.2.0

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

24/11 2014

v0.1.1

0.1.1.0

  Sources   Download

The Requires

 

by Avatar rap2hpoutre

24/11 2014

v0.1.0

0.1.0.0

  Sources   Download

The Requires

 

by Avatar rap2hpoutre