sentry / sentry-symfony
Sentry 的 Symfony 集成 (http://getsentry.com)
5.0.1
2024-07-29 11:22 UTC
Requires
- php: ^7.2||^8.0
- guzzlehttp/psr7: ^2.1.1
- jean85/pretty-package-versions: ^1.5||^2.0
- sentry/sentry: ^4.6.1
- 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.11.7
- phpstan/phpstan-phpunit: 1.4.0
- phpstan/phpstan-symfony: 1.4.5
- phpunit/phpunit: ^8.5.14||^9.3.9
- 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.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-dependabot/composer/composer-3481372935
- dev-slow-dep-updates
- dev-fix-missing-requests-data
- dev-dependabot/composer/composer-6ca2a64842
- dev-dependabot/github_actions/shivammathur/setup-php-2.31.1
- dev-dependabot/github_actions/actions/checkout-4.1.7
- dev-dependabot/github_actions/codecov/codecov-action-4.5.0
- 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-09-10 09:45:10 UTC
README
糟糕的软件无处不在,我们已经厌倦了。Sentry 致力于帮助开发者更快地编写更好的软件,以便我们能够回归享受技术。如果您想加入我们,请查看我们的开放职位
官方 Sentry SDK for Symfony
这是官方的 Sentry SDK for Symfony。
入门指南
安装
使用 Composer 安装 SDK。
composer require sentry/sentry-symfony
配置
将 Sentry DSN 添加到您的 .env
文件中。
###> sentry/sentry-symfony ###
SENTRY_DSN="https://public@sentry.example.com/1"
###< sentry/sentry-symfony ###
使用方法
use function Sentry\captureException; try { $this->functionThatMayFail(); } catch (\Throwable $exception) { captureException($exception); }
Symfony 版本兼容性
为 SDK 做贡献
请参阅 CONTRIBUTING.md。
获取帮助/支持
如果您需要帮助设置或配置 Symfony SDK(或 Sentry 宇宙中的任何其他内容),请访问 Sentry 社区在 Discord。我们的 Discord 社区中有许多乐于助人的人,他们随时准备帮助您!
资源
许可证
MIT 许可证下授权,请参阅 LICENSE