denniseilander/pulse-log-files
最新稳定版本:0.3.0
Composer 安装命令:
composer require denniseilander/pulse-log-files
包简介
A lightweight Laravel Pulse package for effortlessly viewing available log files in your current project.
README 文档
README
A lightweight Laravel Pulse package for effortlessly viewing available log files in your current project.
Installation
You can install the package via composer:
composer require denniseilander/pulse-log-files
Register the recorder
To let Laravel Pulse check the available log files, you need to register the recorder in the config/pulse.php file.
return [ ... 'recorders' => [ \Denniseilander\LogFiles\Recorders\LogFiles::class => [], ], ];
Change the interval (optional)
By default, the recorder will be checked once every 5 minutes.
You can change this by adding the run_every_seconds key to the array.
'recorders' => [ \Denniseilander\LogFiles\Recorders\LogFiles::class => [ 'run_every_seconds' => 10 * 60, // 10 minutes ], ],
Optionally, you can publish the views using
php artisan vendor:publish --tag="pulse-log-files-views"
Usage
You can use the component in your views like this:
<livewire:pulse.log-files cols="4" />
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 31.39k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 21
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-06