Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Request Logger Laravel Package

always-open/laravel-request-logger

Always Open's Laravel Request Logger captures incoming HTTP requests in your Laravel application, giving you a record of traffic for debugging, monitoring, and audits. It aims to be a lightweight drop-in logging layer for existing projects, though it is an early-stage package with limited adoption s...

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Scope of this assessment. No prior assessment exists and no dependency-scan, repository, or usage data was supplied. The following is derived from the package's identity (always-open/laravel-request-logger), its purpose (HTTP request logging via Laravel middleware), and the v4.0.0 release note, which contains exactly one change: "FLUX-911 — Support Laravel 13." Findings below should be treated as a pre-integration hypothesis set, with the open questions in the final subsection as the validation plan before any commitment.

Architecture fit. The package occupies a narrow, well-understood slot in a Laravel application: a middleware component that observes the request lifecycle and emits a structured log record per request/response through Laravel's logging stack. This is a low-coupling integration — it does not touch the domain model, the database schema (beyond optional log-channel configuration), or the queue topology, and it is removable by deleting one middleware registration. It complements rather than duplicates a full APM/observability platform; the decision to adopt it is a build-vs-buy call against writing ~50 lines of in-house middleware, and the package's value is presumably in the details (payload capture, redaction, sanitization, contextual fields) that in-house middleware tends to get wrong.

Integration feasibility. Mechanically trivial: Composer install, config publish, middleware registration (global or route-group), log channel selection. The realistic effort is not installation but policy: deciding what gets logged (headers, bodies, user identifiers, IPs), where it lands, retention, and redaction rules. Those are product/compliance decisions that must precede the rollout, not follow it.

Technical risk. The principal risk is the version signal itself. The only functional change is Laravel 13 support, yet the release is tagged 4.0.0 — a major bump. Since the package effectively tracks the framework's own support window, a major bump for a framework-compatibility change conventionally means the Composer constraints were narrowed: older Laravel versions (plausibly 10/11/12) and/or an older PHP floor were dropped. That is a breaking change for any application not on the newest Laravel line, and it caps the package's usable life to the framework's upgrade cadence — this package will force a major-version bump on you roughly annually, in lockstep with Laravel. Secondary risks: log volume and PII exposure (request bodies and headers are exactly where secrets and personal data live), synchronous logging on the request path adding latency, and the concentration risk of a small-maintainer package in the request hot path. Note also that the change is tracked under an internal ticket ID (FLUX-911) rather than a public issue, which suggests a vendor-driven release process; confirm whether a public upgrade guide accompanies the major bump.

Key questions.

  • What is the exact support matrix in v4.0.0 — which Laravel and PHP versions are permitted by composer.json, and which were dropped versus 3.1.0?
  • Beyond constraints, did v4.0.0 change the middleware alias, config file keys, published config path, or log record schema? A silent schema change breaks downstream log parsers and dashboards.
  • Is there a maintained 3.x line for applications that cannot move to Laravel 13 this cycle, and for how long?
  • Is CI actually exercising Laravel 13 across the PHP versions we run, or is support asserted without a test matrix?
  • What are the defaults for body capture, header capture, and redaction? Does it ship a sane deny-list, or is PII exclusion entirely our responsibility?
  • Does logging happen inline on the request path, and is there sampling or async-channel support?
  • What is the upgrade guide, release cadence, and issue-response history for this maintainer?

Integration Approach

Stack fit. Assumes a conventional Laravel application on the HTTP kernel with Monolog-backed channels. Best fit is a team already centralizing logs (stderr → aggregator, or a structured channel) that wants per-request audit/observability without standing up APM. Poor fit if the team already has request-level tracing from an APM agent — the two will duplicate volume and cost.

Compatibility. The binding constraint is our Laravel and PHP versions, not the package's features. The gating step is to read v4.0.0's composer.json constraints and compare against every application in scope. Any app below the new floor must either stay pinned to 3.1.0 (and accept that it is now a legacy branch) or be upgraded on the framework first. Treat this as a framework-upgrade dependency, not a package decision.

Migration path. (1) Pin the current state and inventory which apps are on which Laravel line. (2) Evaluate v4.0.0 in a single non-production application on the newest Laravel line; diff the published config and log output against 3.1.0 to catch schema drift. (3) If the diff is constraint-only, adoption is a version bump; if config keys moved, script the config migration. (4) Roll out per-application, not fleet-wide, behind a feature flag on the middleware registration so it can be disabled without a deploy.

Sequencing.

  1. Constraint and diff audit (blocking).
  2. Redaction policy and log-retention decision — must be agreed before any environment logs request bodies.
  3. Pilot in one staging service; measure added latency and log volume/cost per 1k requests.
  4. Production pilot on a low-traffic internal service.
  5. Fleet rollout, gated on the Laravel upgrade schedule rather than on the package's release schedule.

Do not adopt v4.0.0 as a greenfield choice without first confirming 3.x is not the better pin for the majority of the estate; a major version that only adds framework support is a maintenance tax, and the correct answer may be "adopt, but plan to absorb an annual major bump."

Operational Impact

Maintenance. The package's release cadence is coupled to Laravel's, and the major-version bumps are compatibility-driven rather than feature-driven. Budget for a recurring, low-effort-but-nonzero upgrade task each Laravel cycle: read constraints, bump, re-verify log schema, redeploy. Because v4.0.0 is a major bump with a one-line changelog, the operational burden of determining impact exceeds the burden of the code change — absence of a documented upgrade guide is itself a maintenance cost and should factor into the build-vs-buy comparison.

Support. Small, single-maintainer-style open-source package with no commercial backing. Support is best-effort via GitHub issues. There is no SLA, no security disclosure policy evident from the release data, and no guaranteed backport window for the 3.x line. Mitigation: vendor the package or fork-pin it, and ensure the middleware is registered in a way that lets us disable it in one line if upstream stalls.

Scaling. Cost and risk scale linearly with request volume, and both dimensions matter: log volume (per-request payloads multiply storage and egress spend) and log latency (inline logging on the request path adds a write to every request; at high RPS this becomes a tail-latency contributor and a throughput ceiling if the channel is synchronous). Mitigations: route to an async/buffered channel, enable sampling for high-volume endpoints, exclude health checks and static asset requests from the middleware group, and cap captured body size.

Failure modes.

  • Logging channel unavailable → if logging throws on the request path, requests fail or slow. Verify the package swallows/handles logging exceptions and never converts an observability signal into an availability incident.
  • PII/secret leakage → request bodies and headers captured by default into a log store with broader access than the source system. Highest-severity failure mode; policy must be set before rollout.
  • Silent schema drift on upgrade → parsers and dashboards break without an application error.
  • Version-lock stall → the package jumps to a new major ahead of our framework upgrade, leaving us stranded on an unsupported pin.
  • Volume-induced cost surprise → storage bill grows faster than traffic if bodies are logged.

Ramp-up. Low engineering ramp-up: any Laravel developer can install and configure it in under an hour. The real ramp-up is organizational — getting security/compliance sign-off on what is captured, and teaching the team to read and query the resulting records. Estimate one engineer-day for technical integration plus the review cycle for the data-capture policy. Assign a named owner for the version-upgrade cadence; unowned, this package will silently drift two majors behind before anyone notices.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource