iblacker/nova-log-viewer
最新稳定版本:v2.0
Composer 安装命令:
composer require iblacker/nova-log-viewer
包简介
Provides a Log Viewer for Laravel Nova
README 文档
README
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.
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.
统计信息
- 总下载量: 36.84k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-07-30


