vietstars/logs-viewer

A Logs viewer

Installs: 31

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:laravel-package

v0.0.1 2023-07-13 05:54 UTC

This package is auto-updated.

Last update: 2024-05-20 02:53:49 UTC


README

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

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"