承接 born05/craft-sentry 相关项目开发

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

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

born05/craft-sentry

最新稳定版本:3.0.0

Composer 安装命令:

composer require born05/craft-sentry

包简介

Pushes Craft CMS errors to Sentry.

README 文档

README

Pushes Craft CMS errors to Sentry.

Installation

Plugin Store

  1. Search for 'Sentry SDK'.
  2. Hit install
  3. Create a config file as explained below.

Composer

  1. Run: composer require roelvanhintum/craft-sentry
  2. Hit install in Admin > Settings > Plugins
  3. Create a config file as explained below.

Requirements

  • Craft 4.0.0 and up
  • PHP 8.0.2 and up

Configuring Sentry

Create a config/sentry-sdk.php config file with the following contents:

<?php return [ '*' => [ 'enabled' => true, 'anonymous' => false, // Determines to log user info or not 'clientDsn' => getenv('SENTRY_DSN') ?: 'https://example@sentry.io/123456789', // Set as string or use environment variable. 'clientKey' => getenv('SENTRY_CLIENT_KEY') ?: 'z987654321a', // https://js.sentry-cdn.com/z987654321a.min.js 'excludedCodes' => ['400', '404', '429'], 'release' => getenv('SENTRY_RELEASE') ?: null, // Release number/name used by sentry. 'reportJsErrors' => false, 'sampleRate' => 1.0, 'ignoreErrors' => [ // Email link Microsoft Outlook crawler compatibility error // cf. https://forum.sentry.io/t/unhandledrejection-non-error-promise-rejection-captured-with-value/14062 "Non-Error promise rejection captured with value: Object Not Found Matching Id:", ] ], ];

Credits

Based upon the sentry plugin by Luke Youell.

统计信息

  • 总下载量: 136.44k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 4
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固