mroca/request-log-bundle
Symfony bundle that records incoming HTTP requests for debugging and auditing. It captures details such as method, URI, headers, and payload, then stores them for easy inspection, helping you trace issues and understand traffic in your application.
Important framing first: despite being filed under "Laravel/PHP," this is a Symfony bundle, not a Laravel package. Symfony bundles do not install into a Laravel app without a compatibility shim (service-provider bridge, config translation, autoloading changes). That single fact reframes the build-vs-buy question below — this is not a drop-in dependency decision for a Laravel codebase.
What the capability (generating mock HTTP requests from logged real requests) actually informs:
Not a signal for: production observability, request logging/audit, API mocking at scale, or anything requiring a supported vendor relationship.
Consider it (narrowly) when all of these hold:
Look elsewhere when:
Alternatives to evaluate in the same slot: framework-native HTTP fakes/recording, php-vcr-style record-and-replay libraries, or a ~200-line internal capture middleware. All three carry less risk than a 3-star bundle.
To executives: This is not a platform bet — treat it as a pattern reference, not a purchase. The package is a Symfony bundle with effectively zero adoption (3 stars, no dependents), so it carries no support guarantee and no security-maintenance commitment. The idea behind it — capture real HTTP requests and replay them as mocks — is genuinely useful for cutting "can't reproduce" bug cycles and making integration tests realistic. Recommendation: fund a time-boxed internal spike (roughly half a sprint) to replicate the capture-and-replay pattern in our own stack, rather than adopting the dependency. Cost is small, and it avoids inheriting an unmaintained component.
To engineering: The value is the mechanism, not the code. Read it as a reference implementation: how it intercepts requests, what it serializes, how it rehydrates mocks. We'd reimplement in our own framework — if we're a Laravel shop, a capture middleware plus the HTTP client's fake/recording facilities gets us there without the bundle. Two guardrails: (1) define a redaction step before anything is persisted (auth headers, cookies, tokens, PII), and (2) scope it to non-production environments. Verify framework and PHP version compatibility yourself before writing any integration code — the package metadata doesn't establish it, and there is no maintainer to ask.
How can I help you explore Laravel packages today?