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 Log Enhancer Laravel Package

freshbitsweb/laravel-log-enhancer

Laravel Log Enhancer automatically enriches every log entry with useful request context—logged-in user ID, request URL, IP address, input and session data—so you can debug production issues faster. Quick to install and configure, no code changes needed.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Debugging and developer-productivity investment: Decide whether to improve existing Laravel file logs with request/user/session context before investing in a full observability platform. This package is a low-cost way to shorten triage time for common “what request caused this error?” investigations.
  • Build vs. buy for log enrichment: Adopting an MIT package is usually cheaper than building and maintaining a custom Monolog processor. The build decision should compare a few hours of integration and review against the ongoing ownership of in-house log-enrichment code.
  • Roadmap sequencing for observability: Position this as a tactical enhancement, not a replacement for structured logging, centralized aggregation, tracing, or alerting. It can be a stopgap while a broader observability roadmap is prioritized.
  • Use-case validation: Most relevant for local/staging debugging, support-ticket reproduction, small-team incident triage, and applications that still rely primarily on Laravel’s file logs.
  • Dependency and risk review: The package is small (345 stars), MIT-licensed, and has a recent release (2026-03-21). That supports a pilot, but not an uncritical production rollout without checking maintainer activity, changelog, Laravel-version compatibility, and PII/redaction behavior.

When to Consider This Package

Consider adoption when:

  • The application is on Laravel 5.6+ and uses Laravel/Monolog file logging as a primary debugging surface.
  • Engineers repeatedly need request context—URL, method, user/session identifiers, and similar metadata—to diagnose issues.
  • The team wants a fast, low-configuration improvement without procuring an APM or log-management vendor.
  • The environment is local, staging, internal-tooling, or low-compliance production where log enrichment data can be safely handled.
  • You can configure redaction or disable sensitive fields and have a plan to pin and review the dependency.
  • You need a short-term bridge while a structured logging or observability initiative is being planned.

Look elsewhere when:

  • You need structured JSON logs, cross-service correlation IDs, distributed tracing, metrics, alerting, or centralized log search.
  • The application handles regulated or high-sensitivity data and the team cannot confidently control PII leakage into logs.
  • You already have Sentry, Datadog, New Relic, or a similar platform that provides richer context and correlation.
  • Log volume is high enough that added per-record context materially affects storage cost or performance.
  • You require enterprise-grade support, a large maintainer community, or long-term vendor guarantees.
  • Laravel’s native logging context or your existing custom processors already cover the need.

How to Pitch It (Stakeholders)

For executives: This is a small, MIT-licensed Laravel package that enriches application logs with request context to reduce debugging time. It is inexpensive and low-commitment, but it is a tactical developer-productivity tool—not an observability platform. Approve a time-boxed pilot in staging, with a PII review and a clear success metric such as reduced time-to-diagnosis for support tickets or incidents.

For engineering: The package can be added via Composer and configured to include selected request, user, and session details in existing Laravel logs. It is useful when engineers are manually reconstructing request context during debugging. Treat it as a narrowly scoped Monolog/logging enhancement: pin the version, review the config for sensitive fields, test in staging, and document what it does and does not cover. Do not position it as a substitute for structured logging, correlation IDs, or centralized observability.

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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
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