定制 winter/wn-sentry-plugin 二次开发

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

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

winter/wn-sentry-plugin

最新稳定版本:v2.2.3

Composer 安装命令:

composer require winter/wn-sentry-plugin

包简介

Sentry.io integration for Winter CMS

README 文档

README

MIT License

Integrates the sentry-laravel package into Winter CMS.

Supports:

  • Performance & Error monitoring via the Sentry Laravel integration
  • Performance & Error monitoring via the Sentry JS integration

Installation

This plugin is available for installation via Composer.

composer require winter/wn-sentry-plugin

After installing the plugin you will need to run the migrations and (if you are using a public folder) republish your public directory.

php artisan migrate

Configuration

If you are using the .env file for configuration, simply add your Sentry DSN to the environment file as SENTRY_LARAVEL_DSN or SENTRY_DSN. If you are not using the .env file, simply copy plugins/winter/sentry/config/config.php to config/winter/sentry/config.php and change the value of dsn.

After you have provided the DSN, you can go to example.com/debug-sentry to test that exceptions are being reported to Sentry. Note that by default this route is only enabled when debug mode is enabled, although you can set it to be explicitly enabled or disabled by changing enableTestRoute in config/winter/sentry/config.php.

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 4
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-15