Laravel log viewer

Inspired by Micheal Mand’s Laravel 4 log viewer.

Log Viewer for Laravel 5 (compatible with 4.2 too).


composer require rap2hpoutre/laravel-log-viewer

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


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

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

my advice:
//protect log viewer with superamin filter

Route::get(logs”, [
‘before’ => ‘superadmin’,
“uses” => ‘\Rap2hpoutre\LaravelLogViewer\LogViewerController@index’

B logbook : PHP | Javascript | Laravel | CodeIgniter | VueJs | ReactJs | WordPress