allan.simon
allan.simon

Reputation: 4316

How to see Guzzle HTTP Client request/response in Symfony's profiler

I'm using Symfony 5.2 and in the debug toolbar there's an HTTP Client section

My understanding is that it's primary made for the symfony's own http client https://symfony.com/components/HttpClient because it has the HTTPClientDataCollector

I would like to know it's possible to make Guzzle also implement this kind of data collector ? if so how to do it ? having the http request and response in the profiler would help debugging.

Upvotes: 2

Views: 1137

Answers (1)

Artem
Artem

Reputation: 1646

You could install a eightpoints/guzzle-bundle

Upvotes: 1

Related Questions