php-junior/nova-logs

Provides a Log Viewer for Laravel Nova
458,404 77
Install
composer require php-junior/nova-logs
Latest Version:v1.1.1
PHP:^7.3|^8.0
License:MIT
Last Updated:Oct 11, 2022
Links: GitHub  ·  Packagist
Maintainer: Nyi Nyi Lwin

Nova Log Viewer

Latest Stable Version Total Downloads

screenshot 1

screenshot 2

screenshot 3

Requirements

  • php: ^7.4 | ^8
  • laravel/nova: ^4

For Laravel Nova Version 3, please use v1 instead.

Installation

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

composer require php-junior/nova-logs

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 \PhpJunior\NovaLogViewer\Tool(),
    ];
}

To publish the configuration use:

php artisan vendor:publish --tag=nova-logs-config

Changelog

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

Credits

License

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

Related Packages

maatwebsite/laravel-nova-excel

Supercharged Excel exports for Laravel Nova Resources

7,070,477 401
vyuldashev/nova-permission

A Laravel Nova tool for Spatie's Permission library.

2,635,677 429
spatie/nova-tail-tool

A Laravel Nova tool to display the application log.

129,785 119
spatie/nova-tags-field

A tags field for Nova apps

2,261,636 301
spatie/nova-backup-tool

A Laravel Nova tool to backup your application.

601,655 360