PHP code example of cavin-kim / laravel-terminal-logger

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

    

cavin-kim / laravel-terminal-logger example snippets


return [
    'log_requests' => true,
    'log_responses' => true,
    'log_queries' => true,
    'log_views' => true,
];
bash
   php artisan vendor:publish --tag=config
   
bash
   php artisan serve