use Onlime\LaravelHttpClientGlobalLogger\HttpClientLogger;
HttpClientLogger::addRequestMiddleware();
use Illuminate\Support\Facades\Http;
use Onlime\LaravelHttpClientGlobalLogger\HttpClientLogger;
Http::globalRequestMiddleware(fn ($request) => $request->withHeader(
'User-Agent', 'My Custom User Agent'
));
HttpClientLogger::addRequestMiddleware();