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

Laravel Sentry Laravel Package

rcrowe/laravel-sentry

Laravel integration for Sentry error tracking. Reports exceptions and log events to Sentry so production errors arrive with stack traces and context, configured through a simple package config. An older package, so verify compatibility with current Laravel and Sentry SDK versions.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. rcrowe/laravel-sentry is a thin Laravel 4-era service provider that wires the legacy raven/raven PHP client into Laravel’s Log listener and exception handler. Architecturally it is a logging/error-reporting sidecar, not a platform dependency — it hooks the framework’s existing error pipeline and forwards events to Sentry’s HTTP ingestion endpoint. That means it touches no domain logic, no schema, and no request lifecycle contract beyond App::error/Log::listen. The fit is narrow and clean only for a Laravel 4 application; for anything on Laravel 5+ the framework’s contract-based exception handling and the official sentry/sentry-laravel SDK make this package redundant.

Integration feasibility. Composer-installable and config-file-driven (DSN, environment, log level mapping), so a pilot is cheap — hours, not weeks. The blockers are version pins: it expects PHP 5.3/5.4-era syntax and Laravel 4.x, and depends on an EOL raven client. On a modern stack it will not resolve, and forcing it in means pinning PHP and framework versions you almost certainly cannot support.

Technical risk. High and asymmetric. The package is effectively abandoned (last activity ~2013–2014, 15 stars), which means no security patches, no PHP 8 / Laravel 9+ compatibility, and no maintainer response path. Sentry itself deprecated the Raven SDK in favor of sentry/sentry and ships an official Laravel integration; adopting a third-party wrapper over a deprecated client creates a dead-end dependency. Secondary risk: synchronous event dispatch on the request path (latency under Sentry outages) and silent swallow of reporting failures, which is acceptable for telemetry but must be understood as best-effort.

Key questions.

  • What Laravel and PHP versions are actually in scope? If anything ≥ Laravel 5, this package is disqualified.
  • Is the official sentry/sentry-laravel SDK viable instead? (Default answer: yes, unless a hard constraint exists.)
  • What is the cost of pinning to an EOL Raven client vs. upgrading the app?
  • Who owns patching if the vendor/community does not?
  • Is error reporting a compliance or SLA requirement, or nice-to-have telemetry? That determines whether "unmaintained" is a blocker or a tolerated risk.

Integration Approach

Stack fit. Only a legacy Laravel 4 / PHP 5.x estate should consider this. Modern Laravel should use sentry/sentry-laravel, which is the same concept with maintained contracts, breadcrumbs, performance tracing, and framework-version support. Treat rcrowe/laravel-sentry as a legacy bridge, not a strategic choice.

Migration path. Recommended sequence: (1) inventory the target app’s Laravel/PHP versions; (2) if ≥ Laravel 5, skip this package and go straight to the official SDK; (3) if stuck on Laravel 4, install this package as an interim telemetry bridge with a documented sunset date tied to the framework upgrade; (4) on upgrade, swap the service provider and config for sentry/sentry-laravel — the DSN and event semantics carry over, so migration is mostly config and handler rewiring, not code changes.

Compatibility. Verify Composer resolution against the app’s PHP constraint before committing; expect conflicts with any modern guzzle, monolog, or psr/log versions. Sentry’s ingestion API is version-tolerant on the wire, so the server side will accept events even from an old client — the compatibility problem is entirely client-side and in your lockfile.

Sequencing. Do a time-boxed spike (1–2 days) in a non-production branch: confirm install, confirm events land in a Sentry project, measure request latency overhead. Gate production rollout on the upgrade decision — do not let a throwaway bridge become load-bearing before the framework migration is scoped, or you will inherit a second migration.

Operational Impact

Maintenance. Effectively zero upstream maintenance. You are the maintainer: any breakage from a PHP patch, Composer resolution change, or Sentry API drift lands on your team. Budget for a fork-and-patch contingency if this ships to production.

Support. Community-only, low-traffic, no vendor SLA. Escalation path is "read the source." For a TPM this is the single biggest argument against adoption outside a short-lived bridge.

Scaling. Sentry handles ingestion scale; the client is a thin, low-CPU reporter. The real scaling concern is event volume and noise: without modern sampling, filtering, and breadcrumb controls, a legacy client can flood your Sentry quota during incident storms, which is precisely when you need it. Set environment, sampling, and ignore-rules from day one, and watch quota burn.

Failure modes. (a) Sentry endpoint latency or outage adds tail latency to requests if reporting is synchronous — mitigate with timeouts and non-blocking where the Raven client allows; (b) report failures are swallowed, so "no errors in Sentry" can mean "reporting is broken" — add a synthetic health check that deliberately throws and confirms delivery; (c) DSN misconfiguration silently drops all telemetry; (d) log-level mapping gaps mean warnings you care about never ship. Each of these is invisible without explicit monitoring of the reporter itself.

Ramp-up. Low technical ramp-up (config file, one provider registration), but decision ramp-up is the real cost: engineers must learn an obsolete stack idiom and unlearn it at migration time. Estimate half a day to stand up, and treat the team-knowledge investment as wasted by design — this is scaffolding for an exit, not a foundation.

Recommendation. Approve only as a time-boxed legacy bridge with a named owner, a sunset date tied to the Laravel upgrade, and a synthetic delivery check. Reject for any greenfield or Laravel 5+ work in favor of sentry/sentry-laravel.

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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource