PHP code example of ludovicose / logger

1. Go to this page and download the library: Download ludovicose/logger 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/ */

    

ludovicose / logger example snippets


'middleware_groups' => [
    'web',
    'api'
],

'enable_http_log' => true

'enable_eloquent_log' => true,

'enable_query_log' => true,
bash
php artisan vendor:publish --provider="Ludovicose\Logger\PackageServiceProvider" --tag="config"