sentry/sentry-symfony

Symfony integration for Sentry (http://getsentry.com)

Package info

github.com/getsentry/sentry-symfony

Homepage

Type:symfony-bundle

pkg:composer/sentry/sentry-symfony

Fund package maintenance!

sentry.io/pricing

sentry.io

Statistics

Installs: 65 984 089

Dependents: 70

Suggesters: 2

Stars: 736

Open Issues: 19

5.10.0 2026-04-01 14:50 UTC

Requires

Requires (Dev)

Suggests

Provides

None

Conflicts

None

Replaces

None

MIT 6f49255f4cdcfc43a3a283bd3a1f65d483e9192f

  • Sentry <accounts.woop@sentry.io>

loggingsymfonyerrorssentry

This package is auto-updated.

Last update: 2026-06-03 11:05:13 UTC


README

👁 Sentry

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us

Official Sentry SDK for Symfony

👁 Stable release
👁 License
👁 Total Downloads
👁 Monthly Downloads

👁 CI
👁 Coverage Status
👁 Discord
👁 X Follow

This is the official Symfony SDK for Sentry.

Getting Started

Install

Install the SDK using Composer.

composer require sentry/sentry-symfony

Configure

Add the Sentry DSN to your .env file.

###> sentry/sentry-symfony ###
SENTRY_DSN="https://public@sentry.example.com/1"
###< sentry/sentry-symfony ###

Usage

use function Sentry\captureException;

try {
 $this->functionThatMayFail();
} catch (\Throwable $exception) {
 captureException($exception);
}

Contributing to the SDK

Please refer to CONTRIBUTING.md.

Thanks to all the people who contributed so far!

👁 Image

Getting help/support

If you need help setting up or configuring the Symfony SDK (or anything else in the Sentry universe) please head over to the Sentry Community on Discord. There is a ton of great people in our Discord community ready to help you!

Resources

License

Licensed under the MIT license, see LICENSE