PHP code example of andriichuk / laravel-http-logger

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

    

andriichuk / laravel-http-logger example snippets


'channels' => [
    // ...
    'http' => [
        'driver' => 'daily',
        'path' => storage_path('logs/http.log'),
        'level' => 'info',
    ],
],
bash
php artisan vendor:publish --tag="http-logger-config"