nathandentzau/drupal-honeybadger
Composer 安装命令:
composer require nathandentzau/drupal-honeybadger
包简介
Zero-instrumentation, 360 degree coverage of errors, outages and service degradation.
README 文档
README
This is a Honeybadger integration module for Drupal.
Requirements
- PHP
^7.3 || ^8.0 - Drupal
^8.7 || ^9.0 || ^10
Installation
This module must be installed with Composer:
$ composer require nathandentzau/drupal-honeybadger
Configuration
At this time, the module is only configurable via the settings.php file. In your settings file add the following:
$config['honeybadger.settings'] = [ 'api_key' => 'YOUR API KEY', 'environment' => [ 'filter' => [], 'include' => [], ], 'request' => [ 'filter' => [], ], 'version' => NULL, 'hostname' => $_SERVER['HOST'], 'project_root' => DRUPAL_ROOT, 'environment_name' => 'THE CURRENT ENVIRONMENT', 'handlers' => [ 'exception' => true, 'error' => true, ], 'client' => [ 'timeout' => 0, 'proxy' => [], ], 'excluded_exceptions' => [], 'report_data' => true, ];
See the Honeybadger integration documentation for more information on the settings above.
Testing
This project contains unit tests and code linters.
- PHPUnit:
composer phpunit - PHPCS:
composer phpcs
Maintainers
统计信息
- 总下载量: 4.6k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-07-11