i22/airbrake-bundle
Symfony bundle that integrates Airbrake error monitoring, automatically capturing exceptions and reporting them to your Airbrake project. Provides simple configuration and service integration for tracking production errors in Symfony applications.
composer.json."Consider it only when all of the following hold:
airbrake/airbrake-php notifier behind a service provider instead.composer.json constraints — verify this before assuming compatibility; it will likely exclude modern Symfony 6/7 and PHP 8.2+.Look elsewhere when:
For executives (one paragraph): We evaluated a small open-source connector that plugs the Airbrake.io error-monitoring service into Symfony applications. The connector itself is low-value and effectively unmaintained — no community, no downstream users — so we should not depend on it. The decision worth your attention is the vendor: error tracking is table stakes for running a production service with an on-call commitment, and it is a recurring SaaS cost. Recommendation is to make a deliberate vendor choice — Sentry is the default candidate on ecosystem health — rather than adopting this package by default, and to budget the integration as a one-to-two-day engineering task either way. We also need to confirm whether our estate is Symfony, Laravel, or mixed, since this package only applies to the first.
For engineering: This is a thin Symfony bundle wrapping Airbrake's PHP client — config plus a handler wired into the framework's exception path. It probably works, but with zero stars and zero dependents, treat it as sample code: read it, and if we stay on Airbrake, copy the handler into our own bundle where we control the Symfony version constraints and the maintenance. If we are on Laravel, it does not apply — bind airbrake/airbrake-php in a service provider, add a Monolog handler on the error/critical channels, and hook Exceptions\Handler::report(); roughly one to two engineer-days including tests. Watch three operational traps regardless of path: synchronous reporting in the request path (set an aggressive connect timeout, fail open), PII in payloads (author and test a scrub list — this is the highest-severity risk), and silent drops (add a scheduled synthetic canary so we learn when reporting stops). If we have not picked a vendor, spend half a day comparing the first-party Sentry and Rollbar SDKs before committing; the swap cost is small but non-zero, and the vendor decision outlives the adapter.
Bottom line: Do not adopt as a strategic dependency. Use it as a scoping artifact for the vendor decision, and only reach for it if we are already committed to Airbrake on Symfony and are prepared to own the code.
How can I help you explore Laravel packages today?