dragon-code/laravel-http-logger
A Laravel package that automatically logs incoming HTTP requests and responses, capturing method, URL, status code, headers, and payloads for easier debugging, auditing, and monitoring of your application's traffic.
Consider it when:
Look elsewhere when:
Executives: This is a small, MIT-licensed utility for recording inbound HTTP requests. It is not a strategic dependency and should not be budgeted as one. The 1.6.0 release adds Laravel 13 compatibility — a genuine but minimal signal of life, delivered mostly by automation with a single functional contribution. There is still no support commitment, and community adoption remains negligible, so we would own the code regardless. Recommendation: do not add it as a maintained dependency; use it as a design reference and have engineering implement the equivalent in-house — roughly one day of work — so we control compatibility, PII redaction, and retention. This delivers the immediate triage and audit value at effectively zero vendor risk, and defers any real observability spend until we have data to justify it.
Engineering: Treat this as sample code. It is a middleware that writes request metadata to a configured log channel — useful as a checklist for which fields matter and how to wire channels. 1.6.0 confirms the pattern still compiles against Laravel 13, but it does not give us a security-response commitment or a compatibility matrix across majors. Either vendor the middleware into app/Http/Middleware with tests, or reimplement it; if you vendor it, pin the version you copied and record the commit hash. Non-negotiables if we ship this: redact Authorization, cookies, and known PII fields; exclude health checks and static assets; sample high-volume endpoints; and route to a channel with rotation and retention rather than a single unpinned file. Pair it with a decision on where logs ultimately live — if the answer is a log aggregator or APM, build toward that sink now instead of migrating twice.
How can I help you explore Laravel packages today?