承接 marcopollacci/sentryexpressive 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marcopollacci/sentryexpressive

最新稳定版本:1.0

Composer 安装命令:

composer require marcopollacci/sentryexpressive

包简介

Utility to connect Zend Expressive Framework to Sentry

README 文档

README

Build Status Maintainability Latest Stable Version Total Downloads License composer.lock

Average time to resolve an issue Percentage of issues still open

Sentry Delegator for Zend Expressive Framework

Install by Composer

composer require marcopollacci/sentryexpressive

Usage

  1. 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
    ]
];
  1. 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-06-19