marcopollacci/sentryexpressive
最新稳定版本:1.0
Composer 安装命令:
composer require marcopollacci/sentryexpressive
包简介
Utility to connect Zend Expressive Framework to Sentry
README 文档
README
Sentry Delegator for Zend Expressive Framework
Install by Composer
composer require marcopollacci/sentryexpressive
Usage
- Set at your config file with sentry token and dsn (if no config given, no exception send to sentry). Es:
return [ 'sentry' => [ 'dsn' => 'https://<your url>>/<your id>', 'environment' => 'produzione' #optional ] ];
- Enjoy it :D!
Additional usage in try / catch statament
Code Example
try { throw new \Exception('something'); }catch(\Exception $e){ \Sentry\captureException($e); /* something else you want */ }
统计信息
- 总下载量: 90
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-19