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

Airbrake Bundle Laravel Package

incompass/airbrake-bundle

Symfony bundle that integrates Airbrake error tracking, forwarding exceptions and errors to Airbrake for monitoring and alerting with straightforward configuration and service integration.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit — poor against our stated stack. This is a Symfony bundle, not a Laravel package. It integrates via Symfony's Bundle subclass, a DependencyInjection extension, and container service definitions consumed by Symfony's kernel — none of which exist as extension points in Laravel. Laravel's equivalents (ServiceProvider, Illuminate\Foundation\Exceptions\Handler::report, Monolog channel drivers) are architecturally unrelated. There is no configuration path in which composer require yields a working notifier inside a Laravel app. As a TPM, treat the framing mismatch as the headline finding: the candidate list is wrong, not the package.

Integration feasibility — nil as a dependency, moderate as reference material. The only defensible use in a Laravel estate is to read how it wires the upstream Airbrake client (project ID, API key, environment gating, exception filters) and then build that behavior ourselves in ~50–100 lines of owned glue code. That is forking behavior, not adopting a dependency, and it changes the ownership calculus entirely.

Technical risk — high. Zero stars, zero dependents, score 0. The package name (incompass/airbrake-bundle) and repository (casechek/AirbrakeBundle) differ, implying a fork or rename with unclear provenance. Symfony bundles of this vintage typically depend on container patterns removed in Symfony 5/6 and will not run on current PHP 8.x unpatched. It almost certainly wraps airbrake/airbrake-php, which targets the older notice API — endpoint and payload compatibility need verification. Most damning: the component that tells us when things break would itself be the least-observed dependency in the stack.

Key questions to resolve before writing code:

  1. Do we actually operate Symfony anywhere, or is this a mis-scoped request for a Laravel app?
  2. Does the bundle depend on airbrake/airbrake-php or hand-roll HTTP? What are the last commit date and PHP/Symfony constraints?
  3. Is Airbrake a contractual or legacy requirement, or an inherited default we are free to replace?
  4. What is our real incident-tooling target — Sentry, Bugsnag, an OTel collector, or Airbrake specifically?

Integration Approach

Stack fit — do not install into Laravel. For Laravel the correct shape is the vendor's first-party PHP SDK bound in a dedicated service provider, registered as the report() callback in the exception handler, plus a Monolog handler for non-exception error logs, with configuration in config/services.php and .env consistent with every other observability integration we run. If a genuine Symfony service needs Airbrake, evaluate that as a separate, isolated decision.

Migration path — audit, then decide, then build:

  1. Inventory which services emit to Airbrake today and under what credentials.
  2. Decide keep vs. replace. If Airbrake is not contractually mandated, standardising on a provider with first-party Laravel support (Sentry's Laravel SDK, or the OTel instrumentation path) retires the question entirely.
  3. If Airbrake must stay, build a thin internal adapter, publish it to our private registry, and own it outright.
  4. Pilot on one non-critical service, confirm payloads land with readable backtraces, then broaden.

Compatibility — verify before committing. PHP constraint, Symfony major version, presence of removed container APIs, TLS/proxy behaviour in the notifier. Any failure converts a "small integration" into a rewrite with a permanent maintenance tail.

Sequencing. Audit (1 week) → keep/replace decision (1 week) → adapter spike (2–3 days) → private package with tests (1 week) → pilot → rollout. The decision point is cheap; the fork is not. This is the leverage a TPM actually has here: spending a week to kill a multi-quarter maintenance liability.

Operational Impact

Maintenance. Adopting this package is adopting a fork in all but name — no upstream to merge from, no release cadence, no security response. Budget an explicit owner at roughly 1–2 days per quarter for dependency drift, or decline. That cost is invisible in the "just add a bundle" framing and is the single strongest operational argument against.

Support. No vendor relationship, no community, no dependents to consult; escalation is entirely internal. Individual ramp-up is low — error notifiers are conceptually simple — but tribal-knowledge risk is high because we would be the only organisation running this code. Pair any adapter with a short runbook covering credentials, filtering rules, and how to disable the notifier during an incident.

Scaling and failure modes. The notifier sits in the request path, so its failure modes become ours at the worst possible moment:

  • Synchronous HTTP on error. A slow or unavailable Airbrake adds latency to every exception — precisely during an outage. Enqueue reporting and apply a short timeout with a circuit breaker.
  • Error storms. A systemic failure generates thousands of notices per minute. Add sampling and rate limiting; rely on the vendor's aggregation rather than shipping every occurrence.
  • Silent drops. Notifiers typically swallow transport errors, so we lose visibility with no signal. Emit a metric on notifier failure to detect broken reporting.
  • Coverage gaps. Fatals, OOMs, and shutdown-time errors require a shutdown handler — confirm registration, or the most severe incidents go unreported.
  • Credential handling. Project keys from environment/secret storage only, never committed bundle config.

Ramp-up. Low for any individual engineer, but the knowledge is non-transferable outside the team. Budget the runbook as part of the build, not an afterthought.

Recommendation. Treat this as a design reference, not a dependency. Resolve the Symfony-vs-Laravel scope question first; assuming Laravel, the correct action is either a thin owned adapter or migration to a maintained, first-party-supported error tracker — and drop this package from the candidate list.

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.
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
xeviant/laravel-paystack
gorilladash/laravel-website-sdk