getsentry

getsentry/sentry-laravel

PHP MIT Dev Tools

The official Laravel SDK for Sentry (sentry.io)

1.3k stars
207 forks
active
GitHub +1 / week

1.3k

Stars

207

Forks

27

Open issues

30

Contributors

4.26.0 11 Jun 2026

AI Analysis

The official Laravel SDK for Sentry, enabling Laravel applications to capture and report errors, exceptions, and performance data to Sentry's error monitoring platform. This specialized integration tool is essential for Laravel developers using Sentry for production observability; it is not relevant for teams using alternative error monitoring solutions or who do not instrument their applications.

Dev Tools Library Discovery value: 3/10
Documentation 8/10
Activity 9/10
Community 8/10
Code quality 7/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 8/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

error-monitoring laravel-integration observability crash-reporting sdk
Actively maintained Well documented MIT licensed Niche/specialized use case Beginner friendly Production ready
Deep Analysis · Based on README and public signals
6d ago

Official Laravel error tracking SDK; deeply integrated, well-maintained, narrow but essential utility

sentry-laravel is the official Sentry SDK for the Laravel framework, enabling error tracking, exception capture, and log integration. It wraps the core sentry-php library with Laravel-specific bindings (service provider, artisan commands, exception handlers). Used by Laravel developers who adopt the Sentry.io platform for production monitoring. It is a mature, actively maintained tool that solves a specific problem—capturing and reporting application errors to a centralized service—not a general-purpose library.

Origin

Created in April 2016 as Laravel support within Sentry's SDK ecosystem. Evolved alongside Laravel versions (6–12) and the underlying sentry-php library. Represents Sentry's commitment to first-party framework integrations rather than third-party community maintainers.

Growth

Star count (1,345) reflects modest but stable interest; growth is flat (0 stars in last 7 days) because the project has reached equilibrium adoption among Laravel developers who use Sentry. Activity is not driven by viral growth but by steady framework maintenance: releases track Laravel version bumps (Laravel 12 support added in 2024–2025 cycle) and PHP version compatibility updates. This is typical for mature, well-scoped integrations.

In production

Packagist badges for total and monthly downloads indicate real adoption, but absolute numbers not extracted from README. Official status (getsentry org) and presence in Sentry's core SDK portfolio suggest enterprise/production use, but adoption not verified from independent sources, customer testimonials, or download statistics. Adoption likely among Sentry.io customers, but scope unknown.

Code analysis
Architecture

Appears to follow a service-provider pattern typical of Laravel packages. Based on README, integration points include: exception handler integration in bootstrap/app.php, log channel configuration, and artisan commands (e.g., sentry:publish). Likely wraps getsentry/sentry-php with Laravel-specific initialization and configuration.

Tests

Not documented in README excerpt. CI badge present (actions/workflows/ci.yaml), indicating automated testing exists, but coverage metrics not disclosed.

Maintenance

Last push 2026-07-02 (2 days prior to analysis date 2026-07-04). CI passing. Release cycle appears responsive to Laravel LTS schedule. No signs of abandonment; activity consistent with mature, low-churn project. Maintenance is lean but active.

Honest verdict

ADOPT IF: you are using Sentry.io for error tracking and developing in Laravel—this is the official, maintained integration and removes friction in setup and configuration. AVOID IF: you are using a competing error tracking platform (Bugsnag, Rollbar, etc.) or need observability features beyond error capture (use Honeycomb or similar). MONITOR IF: you require recent Laravel or PHP versions—check compatibility matrix before major framework upgrades, as this project only supports current/LTS Laravel branches.

Independent dimensions

Mainstream potential

3/10

Technical importance

5/10

Adoption evidence

5/10

Risks
  • Dependency on getsentry/sentry-php; breaking changes upstream propagate downstream. Mitigation: sentry-php is official and well-maintained, but coupling exists.
  • Vendor lock-in to Sentry.io platform. Switching error tracking services requires code changes and re-integration. Typical for error tracking SDKs; not unique to this project.
  • Laravel version churn: each major Laravel release may require SDK updates. Repository shows track record of responsiveness, but future support not guaranteed.
  • PHP version compatibility management. As PHP minimum version rises and old versions are EOL'd, older Laravel versions may drop off support matrix.
  • Small maintainer surface: appears to be maintained by Sentry staff as official integration; limited community maintenance would create bottlenecks if internal capacity drops.
Prediction

Will remain a stable, well-maintained integration for Laravel developers using Sentry.io. Growth limited by: (a) Laravel's market share being modest vs JavaScript/Python ecosystems, (b) plateau among Sentry.io's Laravel user base. No major feature expansion likely; incremental updates to track Laravel/PHP releases. Unlikely to see significant star/adoption increase unless Laravel or Sentry.io market share shifts.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

PHP
99.8%
Makefile
0.1%
Shell
0%
Blade
0%

Information

Language
PHP
License
MIT
Last updated
1w ago
Created
124mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

getsentry

getsentry/sentry-php

The official Sentry PHP SDK enables error tracking and crash reporting for PHP...

1.9k PHP DevOps
getsentry

getsentry/sentry-python

The official Python SDK for Sentry.io, a crash-reporting and error-tracking...

2.2k Python DevOps
getsentry

getsentry/sentry-javascript

Official Sentry SDKs for JavaScript providing error monitoring and crash...

8.7k TypeScript Dev Tools
getsentry

getsentry/sentry-go

sentry-go is the official Go SDK for Sentry, a platform for error monitoring...

1.1k Go DevOps
getsentry

getsentry/sentry

Sentry is a comprehensive error tracking and performance monitoring platform...

44.3k Python DevOps
vs. alternatives
getsentry/sentry-php

Parent library. sentry-laravel is a thin wrapper; developers integrating non-Laravel PHP projects use sentry-php directly. No competitive relationship; sentry-laravel depends on sentry-php.

Bugsnag Laravel SDK

Alternative error tracking service with Laravel support. Different upstream platform (Bugsnag vs Sentry), not a code alternative but a platform alternative. Adoption decision driven by Sentry.io vs Bugsnag platform preference, not SDK quality.

Rollbar PHP SDK

Another error tracking platform with Laravel integration. Same category as Bugsnag; platform choice drives adoption, not technical differentiation of the SDK.

Native Laravel exception logging

Laravel's built-in log channels can emit to file/stdout/slack. Does not provide centralized error tracking, session replay, or release tracking; addresses a different scope.

Honeycomb PHP SDK

Observability-focused alternative emphasizing structured logging and distributed tracing. Overlaps on error capture but targets different use case (observability vs error-centric monitoring).