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

Apm Bundle Laravel Package

ozznest/apm-bundle

ozznest/apm-bundle integrates application performance monitoring into PHP apps, helping track requests, database queries, errors, and timing metrics. Configure instrumentation quickly and gain visibility into bottlenecks and runtime health.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. The package is a Symfony bundle, not a Laravel package — the repository name (sf-apm-bundle) and bundle packaging are the first red flag against the stated target stack. Symfony bundles depend on Bundle registration, container compilation passes, DI extensions, and kernel event subscribers. Laravel has no bundle loader; those hooks do not exist. Using this in a Laravel application means writing an adapter layer whose job is to fake a Symfony runtime — a maintenance liability with no upstream support.

Dimension Finding
Framework target Symfony (incompatible by default with Laravel's service provider / middleware model)
Maturity signal 0 stars, 0 dependents — no production evidence
Release cadence Last release 2022-01-04; ~3+ years stale
Failure surface Bundle bootstrapping, container compilation, event listener wiring

Integration feasibility. Possible but not advisable. A Laravel wrapper would need: a service provider to bind config, a translation layer from Laravel's middleware/terminable-middleware lifecycle to Symfony's request/response events, and manual registration of any collectors or listeners the bundle auto-discovers. Each of those is bespoke code we own forever, and the bundle's core value proposition — zero-config auto-instrumentation — is exactly what breaks.

Technical risk.

  • Abandonment risk: high. Zero adoption and a three-year-old release mean no CVE response path, no PHP 8.3/8.4 validation, and no Laravel 10/11/12 test matrix.
  • Compatibility risk: high. Symfony bundles typically pin framework and PHP version ranges; those pins are now likely to conflict with current dependency trees.
  • Observability risk: medium-high. An APM agent that silently fails is worse than none — you lose telemetry and don't know it.
  • Supply-chain risk: unknown. We cannot confirm maintainer identity, license terms, or whether the underlying APM SDK is a vendored or forked dependency.

Key questions to resolve before any spike.

  1. Which APM backend does this bundle emit to (vendor agent, OTLP endpoint, custom collector)? Is that backend still a supported product?
  2. What are the declared PHP/Symfony constraints, and does the dependency tree resolve on a current PHP 8.3 runtime?
  3. Is there an underlying SDK package, and is that maintained independently — could we consume it directly and skip the bundle entirely?
  4. What is the license, and are we permitted to fork and ship internally?
  5. Is there a named maintainer or is this a dormant personal project?
  6. Does it emit OpenTelemetry-compatible spans, or a proprietary format that creates lock-in?

Integration Approach

Stack fit. Poor on two axes: wrong framework abstraction (Symfony bundle vs. Laravel package) and wrong lifecycle (kernel events vs. HTTP kernel middleware). If the organization is Laravel-first, this does not fit without a translation layer. Even in a Symfony shop, the staleness makes it a hard sell against a maintained alternative.

Migration path. Do not attempt a direct install-and-configure. The realistic paths, in preference order:

  1. Replace with a maintained option — OpenTelemetry PHP SDK plus Laravel auto-instrumentation, or a vendor agent (Datadog, New Relic, Sentry Performance, Scout). This is the recommended path in ~90% of cases.
  2. Consume the underlying SDK directly if the bundle is a thin wrapper over a still-maintained APM client. This salvages the useful part and discards the Symfony coupling.
  3. Fork and adapt only if a specific capability here is unavailable elsewhere — a decision that requires an explicit owner and a budget line for ongoing maintenance.

Compatibility gates. Before any code is written, verify: PHP version constraint satisfaction, PSR-3/PSR-4 compliance, absence of abandoned transitive dependencies, and whether the bundle's config tree can be expressed flatly enough for a Laravel config file. Any failure here ends the evaluation.

Sequencing.

  • Week 1 — Spike. Resolve all six key questions. Install in a throwaway Laravel app behind a shim; measure whether any telemetry actually arrives. Success criterion is a real span in the backend, not a successful composer require.
  • Week 2 — Decision gate. Compare against OpenTelemetry baseline on effort, coverage, and vendor neutrality. Default to the alternative unless the spike produces a compelling, specific advantage.
  • Week 3+ — Instrument. Only if the decision gate passes: one service, one route class, shadow traffic, then expand.
  • Rollback plan. APM must be removable with a config flag and no code deletion. Instrumentation should be additive-only for exactly this reason.

Operational Impact

Maintenance. Adopting this transfers ownership to us. With no upstream activity, every future PHP upgrade, framework upgrade, and dependency conflict becomes an internal ticket. Budget for a fork: rebase discipline, a private registry entry, and a named maintainer. That cost is easy to underestimate at evaluation time and compounds annually.

Support. There is no support channel. No maintainer triage, no security advisories, no upgrade guides. If telemetry breaks in production at 2 a.m., the on-call engineer is reading source. Contrast with a vendor agent, where a support contract exists and the failure mode is a known-issue lookup.

Scaling. Unquantified. APM agents impose overhead through instrumentation hooks, span serialization, and network egress. With no benchmarks and no community reports, we cannot state the per-request cost. Any pilot must measure p50/p99 latency and CPU delta against a control cohort before broad rollout, and must configure sampling from day one — unsampled APM on high-throughput Laravel services is a common and expensive mistake.

Failure modes.

  • Silent data loss — spans dropped because an endpoint, credential, or payload format changed upstream. Highest-severity mode: the dashboards look fine because they're empty.
  • Boot failure — bundle/container wiring breaks on framework upgrade, taking down the app rather than just the telemetry.
  • Backpressure — synchronous export blocking request handling under load; must be verified as async/batched.
  • Dependency conflict — stale version pins blocking unrelated package upgrades, discovered late and expensive to unwind.

Ramp-up. Near-zero external knowledge base — no docs ecosystem, no Stack Overflow corpus, no blog posts, no hiring pool. Onboarding is "read the source." Every engineer who touches it pays that cost independently. Mitigate by treating any internal documentation we write as a required deliverable, not an optional one.

Recommendation. Do not adopt in a Laravel codebase. The framework mismatch, zero adoption, and three-year staleness compound into a risk profile that a maintained alternative beats on every axis — effort, support, and longevity. Fund a short spike purely to confirm there is nothing uniquely valuable here, then close the evaluation and standardize on OpenTelemetry or a supported vendor agent.

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.
ippanelcom/laravel-sdk
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