, (*1)
Laravel Logs Viewer
Simple parsing Laravel Logs inspired by rap2hpoutre with some upgrades, (*2)
Installation
Require this package with composer:, (*3)
composer require jsocha/logs-viewer dev-master
After updating composer add service provider in config/app.php, (*4)
Jsocha\LogsViewer\LogsViewerServiceProvider::class,
You need to change APP_LOG in .env file to, (*5)
APP_LOG=daily
After that just add in routes/web.php, (*6)
Route::get('devs/logs', '\Jsocha\LogsViewer\LogsViewerController@index')->name('logs.viewer');
To see logs go to:, (*7)
http://example.com/devs/logs
Of course you can change this route path for what you need., (*8)
Warning
This package has not any permission protection. You should protect this route with some kind of middleware which allow access only to specific user., (*9)