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 |
Small log viewer for lumen. Looks like this:
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: