定制 yawik/sentry 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

yawik/sentry

Composer 安装命令:

composer require yawik/sentry

包简介

This module integrates Sentry error reporting in an YAWIK instance.

README 文档

README

This integrates Sentry error reporting into an YAWIK instance

Requirements

running YAWIK

Installation

Require a dependency via composer.

composer require yawik/sentry

Enable the module for the Zend module manager via creating the sentry.module.php file in the /config/autoload directory with the following content.

<?php
return [
    'YkSentry'
];

Configuration

Copy the file config/sentry.module-options.local.php.dist into the config/autoload directory and strip off the .dist extension.

Adjust the configuration.

  • $enable:
    You may disable sending events to Sentry. (e.g. for testing or development environments.)
  • $sentryConfig:
    You can use any configuration keys that can be used in the function \Sentry\init() as described here.
    However, the dsn key is required, and sending events will be disabled, if it is not set or empty - regardless of the $enabled setting above.
$enable = true;

$sentryConfig = [
    // the DSN (public key) for the sentry server
    'dsn' => '',
];

Development

  1. Clone project
$ git clone git@github.com:yawik/sentry.git /path/to/yawik-sentry
  1. Install dependencies:
$ composer install
  1. Run PHPUnit Tests
$ ./vendor/bin/phpunit

Licence

MIT

统计信息

  • 总下载量: 111
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-08-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固