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 Newrelic Laravel Package

intouch/laravel-newrelic

intouch/laravel-newrelic integrates New Relic APM with Laravel, providing transaction, exception, query, and job monitoring out of the box. Configure custom instrumentation and metrics with minimal setup for clearer production performance insights.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Decision: Treat intouch/laravel-newrelic as a tactical Laravel 5 accelerator only, not a strategic observability dependency. It is a thin integration layer between Laravel and the New Relic PHP agent, but its 2019 last release, Laravel 5-era scope, and zero Packagist dependents create material lifecycle risk.

Architecture fit: Fits Laravel 5 monoliths already standardized on New Relic’s PHP agent. The package likely provides service-provider wiring, middleware, transaction naming, and custom instrumentation hooks. It does not replace New Relic; it reduces boilerplate. It is a poor fit for Laravel 8+ or modern PHP without a fork, and it is unnecessary if the team already has a standard direct-agent integration or OpenTelemetry strategy.

Integration feasibility: Feasible for a constrained Laravel 5 estate via Composer, config publishing, middleware registration, and environment-based enablement. Feasibility depends on exact illuminate/* and PHP constraints, New Relic agent version, and whether the required instrumentation covers HTTP transactions, exceptions, queues, and CLI jobs. A short compatibility spike is mandatory before commitment.

Technical risk: High lifecycle risk. The package is effectively unmaintained, with no release since February 2019, while Laravel 5 and its PHP ecosystem are end-of-life. Risks include dependency conflicts, missing security patches, New Relic agent API drift, silent no-op instrumentation when the native extension is absent, middleware-order issues, incorrect transaction naming, and configuration-cache behavior. Stars are moderate but not evidence of active maintenance; zero dependents signals low ecosystem validation.

Key questions: Which Laravel and PHP versions must be supported? Which New Relic agent version and deployment model are in use? Is New Relic already licensed and mandated? Which signals are required: transaction names, custom parameters, exceptions, queues, deployments, or distributed tracing? Will the team fork and own the package? Is a direct New Relic PHP agent integration or OpenTelemetry path preferable? What is the acceptable exit cost if the package is abandoned?

Integration Approach

Stack fit: Best suited to a Laravel 5 application already running the New Relic PHP agent on traditional PHP-FPM or Apache/NGINX hosts. It is not a good fit for serverless, containerized environments without the agent, or applications standardizing on OpenTelemetry. Confirm that the package’s Laravel constraints match the application before design work.

Migration path: Adopt it behind an internal instrumentation adapter rather than calling package APIs throughout the codebase. If the application is on Laravel 5, use the package to accelerate initial transaction naming and custom attributes, then isolate it so it can be replaced by native New Relic calls, a maintained fork, or OpenTelemetry without broad code changes. If the application is on a newer Laravel version, do not force the package; implement direct agent integration or fork only if the wrapper saves meaningful effort.

Compatibility: Build a compatibility matrix covering Laravel version, PHP version, New Relic PHP agent version, package version, middleware registration style, auto-discovery support, config caching, queue workers, and deployment environment. Verify behavior with the agent installed and absent. Pin the package or an internal fork exactly; do not rely on floating constraints.

Sequencing: First inventory the Laravel/PHP/New Relic estate and confirm business need. Second, run a non-production spike validating transaction naming, exception capture, custom parameters, queue/CLI behavior, and overhead. Third, fork or vendor the package if adoption proceeds, adding ownership metadata and CI checks. Fourth, deploy to a canary environment and compare New Relic data against baseline. Fifth, document rollback and exit criteria before broad rollout.

Operational Impact

Maintenance: Requires an explicit internal owner. Expect to fork, patch, and maintain compatibility with New Relic agent and PHP updates. Treat the original repository as a source snapshot, not a supported upstream. Budget recurring maintenance or plan replacement within the observability roadmap.

Support: Community-only support with no vendor backing. Operational teams will depend on New Relic documentation and internal Laravel expertise. Establish a runbook for agent absence, configuration changes, transaction naming defects, and package upgrade failures.

Scaling: The wrapper itself should add limited overhead, but instrumentation quality matters at scale. Poor transaction naming can fragment dashboards and alerts; high-cardinality custom parameters can increase New Relic cost and reduce query usability. Queue workers and CLI processes need deliberate naming and sampling strategy. Validate agent overhead under production-like load.

Failure modes: Missing or misconfigured New Relic extension, agent daemon unavailable, middleware not registered or ordered incorrectly, config cache hiding changes, incompatible package constraints, silent instrumentation gaps, incorrect transaction names, uncaptured exceptions, queue jobs appearing as generic CLI transactions, and dashboard/alert gaps caused by schema changes. Each needs detection, rollback, and ownership.

Ramp-up: Low for Laravel developers familiar with service providers, middleware, and environment configuration. Moderate for New Relic semantics, transaction naming conventions, custom attribute governance, and cost controls. Provide a short enablement guide, sample dashboards, alert ownership, and a clear rule that instrumentation changes are reviewed like production code.

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.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast