定制 autotix/drupal-module 二次开发

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

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

autotix/drupal-module

Composer 安装命令:

composer require autotix/drupal-module

包简介

Drupal module that captures watchdog errors and forwards them to the Autotix webhook for automated Jira/GitHub ticket creation and auto-fix PRs.

README 文档

README

Captures watchdog errors from your Drupal 10/11 site and forwards them to Autotix, which turns them into tickets (Jira or GitHub Issues) and AI-generated fix PRs automatically.

This repository is a read-only mirror, split from the Autotix monorepo. Issues and PRs are welcome here and will be applied upstream.

Requirements

  • Drupal ^10.3 || ^11
  • PHP >= 8.1
  • Key module (secure credential storage)

Install

composer require autotix/drupal-module
drush en autotix

(The shared autotix/php-sdk core is bundled in lib/php-sdk/ as a fallback, so the module also works when copied into modules/custom without Composer.)

Configure

  1. Create a Key (Administration → Configuration → System → Keys) holding your org webhook token from app.autotix.io → Settings.
  2. Go to Administration → Configuration → Web services → Autotix (/admin/config/services/autotix).
  3. Select the key, set your severity threshold and environment, and enable capture.

Settings include:

Setting Default Purpose
enabled false Master switch.
auth_method token token (X-Webhook-Token) or hmac (HMAC-SHA256).
severity_threshold 3 (Error) Minimum RFC 5424 severity to forward.
dedup_window 86400 Seconds to suppress repeat sends of the same error.
send_immediately false Send inline instead of on destruct.
include_backtrace false Attach a formatted backtrace.

Testing the pipeline

Visit /admin/config/services/autotix/test to send a deliberate test error end-to-end and confirm a ticket shows up in Autotix.

Development

composer install
vendor/bin/phpunit

The bundled SDK copy is kept in sync with the canonical source by bin/sync-sdk.sh and guarded by BundledSdkSyncTest.

License

GPL-2.0-or-later

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-06-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固