Add HttpCollector for comprehensive HTTP request/response tracking#1816
Add HttpCollector for comprehensive HTTP request/response tracking#1816nasrulhazim wants to merge 1 commit intofruitcake:masterfrom
Conversation
|
Wouldn't it be better to improve/complete RequestCollector.php, It already has a lot of the same information https://github.com/barryvdh/laravel-debugbar/blob/099ef543b69eb6bff8d5c7ea70adcfd91b9c7f50/src/DataCollector/RequestCollector.php#L164 |
|
What is the difference with the regular collector? This collector is not registred automatically, right? |
|
It got better with the last update |
|
What is the difference? |
|
Sorry I don’t understand the benefit. I don’t want the content because it might be large. I did add an HttpRequest collector in the new php-debugbar release, and implemented it for the http client requests. |
Description
This PR adds a new
HttpCollectordata collector that provides comprehensive tracking of HTTP requests and responses in Laravel Debugbar.Changes
New Files
src/DataCollector/HttpCollector.php- Main collector classtests/DataCollector/HttpCollectorTest.php- Complete test coverageFeatures
The
HttpCollectorprovides detailed insights into HTTP requests and responses:Request Information
Response Information
Performance Metrics
LARAVEL_STARTSecurity & Privacy
Model Formatting
Configuration
The collector supports the following constructor parameters: