sentry / sentry-symfony
Symfony integration for Sentry (http://getsentry.com)
Fund package maintenance!
sentry.io/pricing
sentry.io
Installs: 44 057 726
Dependents: 57
Suggesters: 1
Security: 0
Stars: 698
Watchers: 59
Forks: 172
Open Issues: 11
Type:symfony-bundle
Requires
- php: ^7.2||^8.0
- guzzlehttp/psr7: ^2.1.1
- jean85/pretty-package-versions: ^1.5||^2.0
- sentry/sentry: ^4.10.0
- symfony/cache-contracts: ^1.1||^2.4||^3.0
- symfony/config: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/console: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/dependency-injection: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/event-dispatcher: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/http-kernel: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/polyfill-php80: ^1.22
- symfony/psr-http-message-bridge: ^1.2||^2.0||^6.4||^7.0
- symfony/security-core: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/security-http: ^4.4.20||^5.0.11||^6.0||^7.0
Requires (Dev)
- doctrine/dbal: ^2.13||^3.3||^4.0
- doctrine/doctrine-bundle: ^2.6
- friendsofphp/php-cs-fixer: ^2.19||^3.40
- masterminds/html5: ^2.8
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: 1.12.5
- phpstan/phpstan-phpunit: 1.4.0
- phpstan/phpstan-symfony: 1.4.10
- phpunit/phpunit: ^8.5.40||^9.6.21
- symfony/browser-kit: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/cache: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/dom-crawler: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/framework-bundle: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/http-client: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/messenger: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/monolog-bundle: ^3.4
- symfony/phpunit-bridge: ^5.2.6||^6.0||^7.0
- symfony/process: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/twig-bundle: ^4.4.20||^5.0.11||^6.0||^7.0
- symfony/yaml: ^4.4.20||^5.0.11||^6.0||^7.0
- vimeo/psalm: ^4.3||^5.16.0
Suggests
- doctrine/doctrine-bundle: Allow distributed tracing of database queries using Sentry.
- monolog/monolog: Allow sending log messages to Sentry by using the included Monolog handler.
- symfony/cache: Allow distributed tracing of cache pools using Sentry.
- symfony/twig-bundle: Allow distributed tracing of Twig template rendering using Sentry.
- dev-master
- 5.1.0
- 5.0.1
- 5.0.0
- 4.x-dev
- 4.14.0
- 4.13.2
- 4.13.1
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.2
- 4.9.1
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.1
- 4.3.0
- 4.2.10
- 4.2.9
- 4.2.8
- 4.2.7
- 4.2.6
- 4.2.5
- 4.2.4
- 4.2.3
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.5.x-dev
- 3.5.4
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.4
- 3.4.3
- 3.4.2
- 3.4.1
- 3.4.0
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.1
- 3.2.0
- 3.1.0
- 3.0.0
- 3.0.0-beta2
- 3.0.0-beta1
- 2.3.0
- 2.2.0
- 2.1
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- 0.8.8
- 0.8.7
- 0.8.6
- 0.8.5
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.1
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.1
- 0.2.0
- 0.1.0
- dev-replace-release-bot-with-gh-app
- dev-dependabot/github_actions/codecov/codecov-action-5
- dev-contributor-list
- dev-issue-templates
- dev-feature/container-logger
- dev-use-monolog
- dev-releases/2.x
- dev-releases/1.x
- dev-releases/0.8.x
- dev-releases/0.7.x
- dev-releases/0.6.x
- dev-releases/0.5.x
This package is auto-updated.
Last update: 2024-12-11 19:21:58 UTC
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
Official Sentry SDK for Symfony
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!
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