jsocha / logs-viewer
Simple logs viewer for Laravel
Installs: 9 413
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.1.0
- laravel/framework: >=5.4
- nesbot/carbon: *
This package is auto-updated.
Last update: 2024-11-10 09:29:56 UTC
README
Laravel Logs Viewer
Simple parsing Laravel Logs inspired by rap2hpoutre with some upgrades
Installation
Require this package with composer:
composer require jsocha/logs-viewer dev-master
After updating composer add service provider in config/app.php
Jsocha\LogsViewer\LogsViewerServiceProvider::class,
You need to change APP_LOG in .env file to
APP_LOG=daily
After that just add in routes/web.php
Route::get('devs/logs', '\Jsocha\LogsViewer\LogsViewerController@index')->name('logs.viewer');
To see logs go to:
http://example.com/devs/logs
Of course you can change this route path for what you need.
##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.