maxsky / lumen-log-viewer by rap2hpoutre
forked from rap2hpoutre/laravel-log-viewer

A Lumen log reader
2,878
1
1
Package Data
Maintainer Username: rap2hpoutre
Maintainer Contact: raphaelht@gmail.com (rap2hpoutre)
Package Create Date: 2019-08-19
Package Last Update: 2019-09-18
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-23 03:22:47
Package Statistics
Total Downloads: 2,878
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 1
Total Open Issues: 0

Lumen 5 Log Viewer

Badge Build Status codecov Author

What is this?

Small log viewer for lumen. Looks like this:

capture d ecran 2014-12-01 a 10 37 18

Install

Install via composer

composer require maxsky/lumen-log-viewer

Add Service Provider to app/Providers/AppServiceProvider.php

$this->app->register(\LumenLogViewer\Providers\LumenLogViewerServiceProvider::class);

Add a route in your web routes file, like this:

/** @var Laravel\Lumen\Routing\Router $router */
$router->group(['namespace' => '\LumenLogViewer\Controllers'], function () use ($router) {
    $router->get('logs', 'LogViewerController@index');
});

Go to http://yourapp/logs or some other route

Optionally copy vendor/maxsky/lumen-log-viewer/views/logviewer.blade.php into /resources/views/vendor/lumen-log-viewer/ for view customization: