rtheunissen/guzzle-log-middleware
Lightweight Guzzle middleware for logging HTTP requests and responses. Capture method, URL, headers, body, status and timing, and route logs through PSR-3/Monolog with configurable formats, levels, and filtering—ideal for debugging and auditing API traffic.
Adopt if:
guzzlehttp/guzzle’s built-in middleware).Look elsewhere if:
monolog/monolog.guzzlehttp/guzzle’s middleware or symfony/http-client).For Executives: "This lightweight package adds critical visibility into our API calls—think of it as ‘flight data recorders’ for HTTP requests. For $0 in dev effort, we’ll catch bugs faster, optimize costs, and meet compliance needs without overhauling our stack. Low risk, high ROI for observability."
For Engineering:
*"The guzzle-log-middleware package lets us log Guzzle requests/responses with minimal setup. It’s battle-tested (82 stars), lightweight, and integrates seamlessly with our existing Guzzle 6 setup. We can:
For Security/Compliance: "This gives us a reproducible log of all API interactions, which we can mask for PII and export for audits. It’s a lightweight way to satisfy requirements without custom solutions."
How can I help you explore Laravel packages today?