Vibeleaderboard
Index / tool
Visit sentry.io
Category
Developer Tools
Rank
Pricing
Open Source
Type
TOOL
Builder
getsentry
GitHub
737 stars
Latest release
5.13.0
Date

About

Official Sentry Symfony bundle. Drop-in error tracking and performance monitoring for Symfony PHP apps.

What it does

It connects Symfony application events to Sentry, capturing exceptions and enriching them with request, console, logging, tracing, and runtime context. Applications install it through Composer, configure a Sentry DSN, and can also report caught exceptions explicitly.

Why it's ranked here

This is a strong choice for Symfony teams already using Sentry. It is the official integration, supports a broad PHP and Symfony range, and covers HTTP requests, console commands, persistent workers, logs, metrics, cache activity, database queries, templates, and outgoing HTTP calls.

What's good

Compatibility work is unusually thorough. Optional integrations use feature detection, while version-specific implementations preserve behavior across several Symfony and Doctrine generations. The project also runs PHPUnit, PHPStan, Psalm, formatting checks, and end-to-end coverage for sensitive lifecycle behavior.

Tradeoffs

The broad compatibility matrix creates maintenance complexity and version-specific exclusions in static analysis. Several useful tracing features require optional Symfony or Doctrine packages. Self-hosted Sentry must support the envelope endpoint, and the current major line requires the curl extension.

How to use it well

Use it in Symfony services that send diagnostics to Sentry and need framework-aware context across web requests, workers, console commands, logs, and traces. Test configuration changes across supported framework versions. It does not provide the Sentry ingestion service, storage, or diagnostic dashboard itself.

Technical notes+

composer.json defines a symfony-bundle package with PSR-4 autoloading, PHP ^7.2||^8.0, sentry/sentry ^4.23.0, and Symfony component constraints spanning 4.4 through 8. Its suggested packages enable Monolog delivery and tracing for Doctrine, Twig, and Symfony Cache. phpunit.xml points PHPUnit at the tests tree, enables strict output checks, and measures src. phpstan.neon analyzes both src and tests at level 9 but excludes several compatibility implementations and end-to-end fixtures. psalm.xml analyzes src at error level 4 with additional compatibility exclusions. AGENTS.md documents conditional optional-package support, private services, intentional listener priorities, and end-to-end expectations for request scope, tracing, logging, metrics, and console behavior. CHANGELOG.md records runtime-context isolation for persistent HTTP workers and Messenger messages.

Observed

License
MIT
Primary language
PHP
Packaging
Composer package sentry/sentry-symfony with package type symfony-bundle
Install surface
Installed with Composer and configured with a Sentry DSN
Interface
Symfony library and bundle with explicit PHP exception capture support
PHP support
Requires PHP 7.2 or PHP 8
Symfony support
Core Symfony component constraints cover Symfony 4.4 through 8
Quality structure
Repository configuration includes PHPUnit, PHPStan, Psalm, formatting checks, unit tests, and end-to-end tests

Read from README.md, composer.json, AUTHORS, LICENSE, AGENTS.md, CLAUDE.md, psalm.xml, .craft.yml, codecov.yml, phpunit.xml, CHANGELOG.md, phpstan.neon, UPGRADE-3.0.md, UPGRADE-4.0.md, UPGRADE-5.0.md.

What it can do

  • Capture and track runtime errors

    PHP exceptions and errors from Symfony applicationError reports with stack traces and context data

  • Monitor application performance

    HTTP requests and database queries in Symfony appPerformance metrics and transaction traces

  • Track custom events and breadcrumbs

    User-defined events and application state changesChronological event timeline for debugging

  • Filter and sample error data

    Error events and sampling configurationReduced dataset based on filtering rules

  • Enrich error context with user data

    Error events and user session informationEnhanced error reports with user context

  • Integrate with Symfony's profiler

    Symfony debug toolbar and profiler requestsSentry data displayed in Symfony profiler interface

Tags

SentrysymfonysdksentryMonitoring & APMphpbundle

Tech Stack

PHP

Media

Sentry SDK for Symfony

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.