php: ^7.4 | ^8laravel/nova: ^4
For Laravel Nova Version 3, please use v1 instead.
You can install the package in to a Laravel app that uses Nova via composer:
composer require php-junior/nova-logsLogViewer 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 \PhpJunior\NovaLogViewer\Tool(),
];
}To publish the configuration use:
php artisan vendor:publish --tag=nova-logs-configPlease see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.


