vietstars/logs-viewer

A Logs viewer
120 1
Install
composer require vietstars/logs-viewer
Latest Version:v0.0.1
PHP:^8.0.0
Maintainer: viestars

logs-viewer

============

Compatible

Log Viewer for Laravel 10

Install via composer

composer require Vietstars/logs-viewer

Add the following in bootstrap/app.php:

$app->register(\Vietstars\LogsViewer\LogsViewerServiceProvider::class);

Explicitly set the namespace in app/Http/routes.php:

$router->group(['namespace' => '\Vietstars\LogsViewer'], function() use ($router) {
    $router->get('logs', 'LogsViewerController@index');
});

Customize view

Publish log.blade.php into /resources/views/vendor/logs-viewer/ for view customization:

php artisan vendor:publish \
  --provider="Vietstars\LogsViewer\LogsViewerServiceProvider" \
  --tag=views

Edit configuration

Publish logviewer.php configuration file into /config/ for configuration customization:

php artisan vendor:publish \
  --provider="Vietstars\LogsViewer\LogsViewerServiceProvider"