staffim / rollbar-bundle
此包已被废弃,不再维护。未建议替代包。
Symfony2 的错误报告到 Rollbar 的捆绑包
v1.3.1
2016-04-12 10:12 UTC
Requires
- rollbar/rollbar: ~0.15
- symfony/debug: ~2.6|~3.0
- symfony/event-dispatcher: ~2.6|~3.0
- symfony/http-kernel: ~2.6|~3.0
- symfony/security-core: ~2.6|~3.0
Requires (Dev)
- phpspec/phpspec: ~2.3
- phpunit/phpunit: ~4.8
- symfony/framework-bundle: ~2.6|~3.0
- symfony/security-bundle: ~2.6|~3.0
README
关于
将 Rollbar 与您的 Symfony2 应用程序集成。
安装
在您的 composer.json 中要求 staffim/rollbar-bundle
包并更新依赖项。
$ composer require staffim/rollbar-bundle:*
将 StaffimRollbarBundle 添加到您的应用程序内核中
public function registerBundles() { $bundles = array( ... new Staffim\RollbarBundle\StaffimRollbarBundle(), ... ); ... }
配置
staffim_rollbar: # Rollbar access token access_token: ### # PHP error level (see https://php.ac.cn/manual/en/function.error-reporting.php) error_level: -1 # Values from scrub.parameters are replaced by the key for specified exceptions scrub: exceptions: - PDOException parameters: key: %key%