kroskolii/simplesamlphp-module-sentry

SimpleSAMLphp 的简单模块,用于将其与 Sentry 集成

安装次数: 11,567

依赖项: 0

建议者: 0

安全性: 0

星标: 0

分支: 2

类型:simplesamlphp-module

1.2.0-rc1 2023-11-14 04:53 UTC

This package is auto-updated.

Last update: 2024-09-14 06:49:46 UTC


README

Simple module for SimpleSAMLphp to integrate it with Sentry.

安装

$ composer require kroskolii/simplesamlphp-module-sentry

配置

将此模块的 module_sentry.phpconfig-templates/ 目录复制到 SimpleSAMLphp 安装目录下的 config 目录,并在 $config 数组中填写或设置其他键。请参考 https://docs.sentry.io/platforms/php/configuration/options/ 了解可用键。

注意,以下环境变量可以自动读取 DSNreleaseenvironment 选项:

  • SENTRY_DSN
  • SENTRY_RELEASE
  • SENTRY_ENVIRONMENT