quatrosoftware / logs-viewer by QuatroSoftware

Simple logs viewer for Laravel
9,414
1
1
Package Data
Maintainer Username: QuatroSoftware
Maintainer Contact: kontakt@quatrodesign.pl (Jakub Socha)
Package Create Date: 2017-02-02
Package Last Update: 2018-02-21
Language: PHP
License: MIT
Last Refreshed: 2024-11-23 03:22:35
Package Statistics
Total Downloads: 9,414
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Packagist License Latest Stable Version Total Downloads

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.