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

Php Airbrake Bundle Laravel Package

realestateconz/php-airbrake-bundle

A Symfony bundle that integrates the Airbrake PHP notifier to automatically report exceptions and errors to Airbrake for centralized monitoring. Offers simple configuration for API credentials, environment settings, and exception filtering.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. This is a thin Symfony 2 bundle whose only job is to expose the php-airbrake client as a DI service and wire it into the framework's exception handling. It fits exactly one architecture: a Symfony 2.x application that has already standardized on Airbrake as its error-reporting backend. Against any modern Symfony (4/5/6/7) or any non-Symfony PHP application, fit is effectively zero — the bundle predates Symfony Flex, PSR-4 autoloading conventions, and autowiring, and it will not register cleanly in a modern kernel. The metadata we have (0 stars, 0 dependents, score 0) is itself a signal: this package has no observable production footprint and no downstream community validating it.

Integration feasibility. Mechanically low effort if Composer resolves it — register the bundle in AppKernel, supply an API key via parameters.yml, done. The realistic blocker is dependency resolution: the bundle's constraints will be pinned to symfony/framework-bundle ~2.x and an old PHP floor, so on PHP 7.4+/8.x Composer will refuse or require --ignore-platform-reqs hacks. Expect to vendor or fork the bundle rather than consume it from Packagist. There is no test suite of note, so "it installs" is not the same as "it works."

Technical risk. The dominant risk is silent loss of observability. Error reporting is a control, not a feature: if the bundle installs but the Airbrake ingestion endpoint has drifted, or the notifier swallows an exception in its own handler, the team believes it has alerting while shipping blind. Secondary risks: unmaintained code with no security patching path, no CVE feed, an old-style notifier that may make synchronous HTTP calls in the request/exception path (latency and cascading failure during incidents), and a hard dependency on an Airbrake account and API contract that may no longer be owned by anyone in the org.

Key questions. What Symfony and PHP versions are actually in scope? Is Airbrake a mandated corporate vendor, or is there an existing Sentry/Datadog/New Relic standard this would fragment? Is the bundle still installable from Packagist as-is, or does it need a fork? Who owns the Airbrake account and the API key lifecycle? Is error reporting tied to a compliance obligation (audit logging, incident SLAs)? And critically: is this a stopgap for one legacy app, or a pattern we'd be endorsing?

Integration Approach

Stack fit. Treat this as a legacy bridge, not a platform component. It is appropriate only for a Symfony 2 application that is already emitting to Airbrake and where the alternative is no error reporting at all. It is not appropriate for new services, for shared libraries, or for any application on a supported Symfony version.

Migration path. Do not let the bundle's API leak into application code. Introduce a one-method internal interface (e.g. ErrorReporterInterface::report(Throwable)) and have the bundle's service be one implementation behind it. That single abstraction converts a stranded dependency into a swappable adapter and makes the eventual move to sentry/sentry-symfony or a maintained Monolog handler a configuration change rather than a refactor. If the fork route is taken, host it internally with a pinned version and a documented patch policy.

Compatibility. Verify the PHP floor and Symfony constraints against the target app before committing; if they don't resolve, budget for a fork-and-repin rather than engineering around Composer. Also verify the notifier's HTTP behaviour (timeouts, queueing, TLS) against the current Airbrake endpoint — an endpoint mismatch produces a green build and zero reports.

Sequencing. (1) Inventory which apps, if any, are on Symfony 2 and on Airbrake; the answer may be "none," which ends the evaluation. (2) Confirm vendor strategy with the observability owner. (3) If proceeding, fork, pin, and add a smoke test that asserts a synthetic exception reaches Airbrake. (4) Wrap behind the abstraction. (5) Schedule the exit: migrate to the maintained notifier at the next platform touch, with a hard date rather than "later."

Operational Impact

Maintenance. All of it is ours. There is no upstream maintainer to patch, no release cadence to track, and no community to lean on. That is an acceptable cost for a single legacy app with a named owner and a retirement date; it is an unacceptable cost as an open-ended commitment.

Support. No stars and no dependents means no Stack Overflow corpus, no blog posts, no peers who have debugged this. Onboarding a new engineer to it is a research task, not a lookup. Internal runbooks and a documented fork are non-negotiable if it goes to production.

Scaling. The bundle itself is a thin wrapper and won't be a throughput bottleneck, but the notifier's transport will be: synchronous HTTP on the exception path adds tail latency precisely when the system is already degraded, and can turn a partial outage into a full one. Configure aggressive timeouts and, if possible, defer reporting off the request path.

Failure modes. Composer resolution failure on modern PHP; autoload/classmap collisions from the fork; API key exposure in committed YAML; silent non-delivery after an Airbrake API change; an exception raised inside the error handler masking the original fault. Each of these fails quietly, which is the worst failure profile for an observability tool.

Ramp-up. Low for an engineer already fluent in Symfony 2 — an afternoon to wire up. High for anyone else, because the prerequisite skill is Symfony 2 era framework knowledge, which is increasingly scarce and expensive to hire. Budget for that in the total cost, not just the integration hours.

Recommendation. Decline for new work. Permit only as a time-boxed bridge in a legacy Symfony 2 app, behind an internal abstraction, with a named owner, a pinned fork, a delivery smoke test, and a scheduled migration off Airbrake to the org's standard observability stack.

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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels