sentry/sentry-symfony
最新稳定版本:5.8.3
Composer 安装命令:
composer require sentry/sentry-symfony
包简介
Symfony integration for Sentry (http://getsentry.com)
README 文档
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
统计信息
- 总下载量: 57.51M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 745
- 点击次数: 1
- 依赖项目数: 61
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04