oxcom/symfony-rollbar-bundle

Symfony 集成 Rollbar 跟踪器的包

安装数: 93,131

依赖者: 0

建议者: 0

安全: 0

星标: 9

关注者: 3

分支: 31

开放问题: 0

类型:symfony-bundle

v2.3.0 2019-05-28 09:43 UTC

This package is auto-updated.

Last update: 2024-09-21 14:52:29 UTC


README

Latest Stable Version Total Downloads codecov Build Status Software License

Symfony 框架(2.8.x, 3.x, 4.x)集成 Rollbar 跟踪器的包

更多文档请访问 这里

安装

  1. 将包添加为依赖项
    $ composer require oxcom/symfony-rollbar-bundle
  2. 提供其配置
    symfony_rollbar:
            enable: true
            exclude:
                - \AppBundle\Exceptions\MyAwesomeException
            rollbar:
                access_token: 'some-secret-token-here'
            rollbar_js:
                access_token: 'some-public-token-here'
  3. 为 4.x 版本加载包
    \SymfonyRollbarBundle\SymfonyRollbarBundle::class => ['all' => true]
    或为 2.8.x 和 3.x 版本
    $bundles = [
        // ...
        new \SymfonyRollbarBundle\SymfonyRollbarBundle(),
        // ...
    ];

错误和问题

如果您发现错误或某些功能无法正常工作,请联系我并告知问题所在。在您的请求中提供错误复现示例或修复建议会很不错。我会尽快处理。