jenssegers/rollbar
A Laravel wrapper for the Rollbar PHP notifier that sends exceptions and logs to Rollbar, registers a service provider and facade, and provides publishable configuration for quick error-monitoring setup.
rollbar/rollbar-laravel SDK, or a hand-rolled PSR-3 logging channel. The wrapper is the cheapest to wire and the most expensive to own — that trade-off is a PM decision and should be made explicitly, not by whichever package a developer finds first.Consider it when:
ErrorReporter interface in front of the facade, a smoke-test route, scrubbing sign-off, and an owned migration ticket filed on day one.Look elsewhere when:
illuminate/support constraints will not resolve; use rollbar/rollbar-laravel. This is a hard stop, not a trade-off.App\Exceptions\Handler (Sentry, Ignition, Telescope, or a custom reporter). Two competing chains mean duplicate quota burn and incoherent triage. Pick exactly one owner.rollbar-php; you'd be fighting the wrapper to reach them.For executives: This is a small, cheap adapter that connects a legacy Laravel application to Rollbar, the error-monitoring vendor we've already chosen. It is not a product feature and it is not a platform decision — it is the plumbing that turns "users got a 500 this morning" into a triaged ticket with a stack trace, affected user, and release version. Expect days of effort, not a sprint, and expect the business value to show up as reduced mean time to resolution and fewer silent failures.
Frame the real decision honestly: the wrapper is free to wire and expensive to own. Zero stars, zero dependents, an archived upstream, and a version ceiling at Laravel 5.x mean every future framework upgrade is blocked until we replace it. So we approve it only for the legacy estate, on three conditions: the version is pinned exactly, error reporting is hidden behind an internal interface so the eventual swap is one class, and a migration ticket is opened the day it ships. That framing converts an "it's just a Composer package" conversation into a disciplined, time-boxed decision rather than an accidental architectural commitment.
For engineering: The value is that uncaught exceptions, Log::error() calls, and custom events reach Rollbar with request/user context and stack traces without manual instrumentation. The risks are equally concrete. The package fails silently — a bad token yields a healthy-looking dashboard and zero telemetry — so the smoke test is mandatory, not ceremonial. The transport is synchronous on the error path, so under an error storm every request blocks on an HTTPS POST; we cap the timeout at ~2s, sample, and load-test a synthetic error burst in staging before canary. Payloads carry PII, so scrub_fields needs a named owner and a sign-off. And we isolate the facade behind an ErrorReporter interface so product code never imports it directly.
For the wider org: Error monitoring here is vendor-standardized, not Laravel-idiomatic — useful if we're consolidating on Rollbar across languages, a liability if we later standardize on Sentry or Datadog. Treat this as a bridge with a documented end date, not a foundation.
How can I help you explore Laravel packages today?