A lightweight Laravel Pulse package for effortlessly viewing available log files in your current project.
You can install the package via composer:
composer require denniseilander/pulse-log-files
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 => [],
],
];
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"
You can use the component in your views like this:
<livewire:pulse.log-files cols="4" />
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.