PHP code example of denniseilander / pulse-log-files

1. Go to this page and download the library: Download denniseilander/pulse-log-files library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

denniseilander / pulse-log-files example snippets


return [
    ...
    
    'recorders' => [
        \Denniseilander\LogFiles\Recorders\LogFiles::class => [],
    ],
];

'recorders' => [
    \Denniseilander\LogFiles\Recorders\LogFiles::class => [
        'run_every_seconds' => 10 * 60, // 10 minutes
    ],
],
bash
php artisan vendor:publish --tag="pulse-log-files-views"