nowo-tech/http-log-bundle
A Symfony bundle for logging outgoing HTTP requests and responses, capturing URLs, headers, payloads, status codes and timings so you can debug third-party integrations and inspect traffic through a centralized, configurable log.
Install and register
composer require nowo-tech/http-log-bundleconfig/bundles.php.Read these first, in order
CHANGELOG.md and UPGRADING.md — important for a small bundle where config keys may move between releases.Start in dev only
config/packages/dev/ first, with body capture enabled and the admin UI behind your existing firewall.First useful use case: inspect one request end-to-end
Authorization header and a JSON body containing a password/token field.dev: full bodies, short retention, admin UI open to local developers.staging: bodies with redaction, medium retention.prod: metadata and error responses only, or sampled bodies with strict size/content-type limits.multipart/form-data);Authorization, Cookie, X-Api-Key), query-string redaction, and body-key redaction for JSON/form payloads. Validate with a canary request containing a fake token, then search the stored record to confirm it never appears.StreamedResponse, BinaryFileResponse, and large downloads often bypass body capture or produce empty/truncated records. Verify behavior for each response type you rely on.Password vs password), and multipart bodies can slip through. Test with realistic payloads, including nested arrays, and prefer deny-by-default for sensitive routes.bin/console cache:clear after changing configuration, and keep environment-specific config in the correct config/packages/{env}/ directory.test, or point it at a disposable storage connection.composer.json, read the source for anything the README does not cover, and avoid relying on community answers. The MIT license at least allows forking/patching.UPGRADING.md before every minor bump. For a young bundle, config keys and admin routes are the most likely things to shift.How can I help you explore Laravel packages today?