jackwh/laravel-new-relic
Adds New Relic APM instrumentation to Laravel apps: names transactions by route, reports exceptions and custom metrics, and provides middleware plus config for queue jobs, ignored exceptions, and environment-specific settings. Simple setup for better Laravel performance monitoring.
JobProcessed to JobAttempted, so jobs that fail, throw, or are retried are closed out consistently instead of only on the happy path. This directly affects what your dashboards can claim about job success rate, retry volume, and queue latency — failed work shows up in New Relic as a distinct, attributable transaction rather than a hanging or misfiled one.unknown transactions.actions/checkout v6→v7, fetch-metadata 2.5→3.1) are maintenance-only, but they're a signal that the repo's supply chain is kept current — useful when arguing for the "safe to depend on" side of a dependency review.Consider adopting when:
composer.json, since it will otherwise fail resolution or pin you to v1.3.x.Look elsewhere when:
JobProcessed-only transaction behavior, or budget the framework upgrade first.@alies-dev) is a first-timer, which is healthy but also a reminder of bus-factor risk.To executives: A small open-source add-on that makes our New Relic APM actually understand our Laravel app — it names HTTP transactions by route and queue jobs by class, so when something slows down or breaks we can see which thing, not just that the app is unhealthy. The v1.4.0 release fixes a gap where failed background jobs weren't being reported properly, which means our job-reliability and failure-rate reporting becomes trustworthy rather than optimistic. Cost is negligible; the value is faster incident diagnosis and defensible SLO numbers.
To engineering: v1.4.0 is a small but meaningful correctness release. Queue transactions now end on JobAttempted instead of JobProcessed (PR #44, first-time contributor), which means failed and retried jobs close their transaction properly — a genuine fix for anyone tracking queue health. The trade-off: Laravel 10 support is dropped as EOL, so this is a breaking change at the dependency level. If we're on L10, we pin to v1.3.x or upgrade the framework; if we're on 11/12, bump and verify our queue dashboards now include failure data. Remaining changes are Dependabot maintenance on CI actions — low risk, but worth a glance at the workflow diff since actions/checkout v6→v7 can change default behavior.
How can I help you explore Laravel packages today?