# sentry-symfony **Repository Path**: mirrors_getsentry/sentry-symfony ## Basic Information - **Project Name**: sentry-symfony - **Description**: The official Symfony SDK for Sentry (sentry.io) - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-03-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
_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 [**Check out our open positions**](https://sentry.io/careers/)_ # Official Sentry SDK for Symfony [![Stable release][Last stable image]][Packagist link] [](https://packagist.org/packages/sentry/sentry-symfony) [](https://packagist.org/packages/sentry/sentry-symfony) [](https://packagist.org/packages/sentry/sentry-symfony) [](https://github.com/getsentry/sentry-symfony/actions/workflows/tests.yaml) [![Coverage Status][Master Code Coverage Image]][Master Code Coverage] [](https://discord.gg/cWnMQeA) [](https://x.com/intent/follow?screen_name=sentry) This is the official Symfony SDK for [Sentry](https://getsentry.com/). ## Getting Started ### Install Install the SDK using [Composer](https://getcomposer.org/). ```bash composer require sentry/sentry-symfony ``` ### Configure Add the [Sentry DSN](https://docs.sentry.io/quickstart/#configure-the-dsn) to your `.env` file. ``` ###> sentry/sentry-symfony ### SENTRY_DSN="https://public@sentry.example.com/1" ###< sentry/sentry-symfony ### ``` ### Usage ```php use function Sentry\captureException; try { $this->functionThatMayFail(); } catch (\Throwable $exception) { captureException($exception); } ``` ## Contributing to the SDK Please refer to [CONTRIBUTING.md](CONTRIBUTING.md). ### Thanks to all the people who contributed so far!