Skip to content

A lightweight Laravel Pulse package for effortlessly viewing available log files in your current project.

License

Notifications You must be signed in to change notification settings

denniseilander/pulse-log-files

Repository files navigation

Laravel Pulse - Log Files

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A lightweight Laravel Pulse package for effortlessly viewing available log files in your current project.

pulse-log-files

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.

About

A lightweight Laravel Pulse package for effortlessly viewing available log files in your current project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published