Skip to content

getsentry/sentry-symfony

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e124d27 · Apr 8, 2024
Apr 2, 2024
Oct 11, 2022
Apr 8, 2024
Apr 8, 2024
Oct 11, 2022
Feb 23, 2021
Jan 5, 2021
Feb 14, 2022
Dec 5, 2023
Apr 29, 2016
Mar 6, 2024
Feb 14, 2023
Feb 16, 2023
Mar 19, 2024
Apr 27, 2020
Feb 19, 2021
Feb 21, 2020
Apr 2, 2024
Apr 2, 2024
Feb 26, 2024
Mar 3, 2021
Feb 26, 2024
Feb 26, 2024

Repository files navigation

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 Check out our open positions

Official Sentry SDK for Symfony

Stable release License Total Downloads Monthly Downloads

CI Coverage Status Discord

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://[email protected]/1"
###< sentry/sentry-symfony ###

Usgae

use function Sentry\captureException;

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

Symfony Version Compatibility

Contributing to the SDK

Please refer to CONTRIBUTING.md.

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

  • Documentation
  • Discord
  • Stack Overflow
  • Twitter Follow

License

Licensed under the MIT license, see LICENSE