Skip to content

iblacker/nova-log-viewer

 
 

Repository files navigation

Nova Log Viewer

Latest Stable Version Total Downloads

About

This is a fork of PHPJunior/nova-logs, which seems to be abandoned. No major changes to the code, mostly updated the design to be consistent with Laravel Nova's design language. I am hoping to maintain this repo and fix any potential bug.

screenshot 1

screenshot 2

screenshot 3

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require iblacker/nova-log-viewer

LogViewer support only the daily log channel, so make sure that the LOG_CHANNEL is set to daily instead of stack in your .env file.

For Laravel 5.5 and below, set this in your .env file

APP_LOG=daily

Next up, you must register the tool with Nova. This is typically done in the tools method of the NovaServiceProvider.

// in app/Providers/NovaServiceProvider.php

public function tools()
{
    return [
        // ...
        new \Iblacker\NovaLogViewer\Tool(),
    ];
}

Changelog

Please see CHANGELOG for more information on what has changed recently.

Configuration

You can configure the behavior of the log view within a config file. First, just publish the default one:

php artisan vendor:publish --tag=config

Now you can edit the settings in the file config/log-viewer.php.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Laravel Nova Log Viewer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 63.5%
  • PHP 28.6%
  • JavaScript 4.3%
  • Blade 3.5%
  • SCSS 0.1%