PHP code example of emargareten / client-logger-laravel
1. Go to this page and download the library: Download emargareten/client-logger-laravel 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/ */
emargareten / client-logger-laravel example snippets
use Illuminate\Support\Facades\Http;
$response = Http::log('Example message...')->get('https://example.com');
Http::log('Example message...', [
'hidden_request_headers' => ['x-api-key'],
])->get('https://example.com');
bash
php artisan vendor:publish --provider="Emargareten\ClientLogger\ClientLoggerServiceProvider"
bash
composer analyse