PHPackages                             autotix/drupal-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. autotix/drupal-module

ActiveDrupal-module[Logging &amp; Monitoring](/categories/logging)

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.

v0.3.1(2w ago)039GPL-2.0-or-laterPHPPHP &gt;=8.1

Since Jun 11Pushed 1w agoCompare

[ Source](https://github.com/HelloWorldDevs/autotix-drupal)[ Packagist](https://packagist.org/packages/autotix/drupal-module)[ Docs](https://autotix.io)[ RSS](/packages/autotix-drupal-module/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (5)Dependencies (7)Versions (6)Used By (0)

Autotix for Drupal
==================

[](#autotix-for-drupal)

Captures watchdog errors from your Drupal 10/11 site and forwards them to [Autotix](https://autotix.io), 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
------------

[](#requirements)

- Drupal `^10.3 || ^11`
- PHP &gt;= 8.1
- [Key](https://www.drupal.org/project/key) module (secure credential storage)

Install
-------

[](#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
---------

[](#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:

SettingDefaultPurpose`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
--------------------

[](#testing-the-pipeline)

Two options, from safest to most thorough:

1. **Logged-error test (built in).** Visit `/admin/config/services/autotix/test` to send a deliberate *logged* error end-to-end and confirm a ticket shows up in Autotix.
2. **Fatal-error test (optional submodule).** This module bundles a companion submodule, **Autotix Test Error** (`autotix_error`), that exercises the genuine uncaught-PHP-error path. Enable it, then visit `/autotix-test-error`(administrators only) to trigger a real fatal error:

    ```
    drush en autotix_error
    ```

    Leave it disabled in production — it only exists to verify capture.

Vulnerability Scanning
----------------------

[](#vulnerability-scanning)

Alongside error capture, the module reports an environment fingerprint — Drupal/PHP versions plus resolved package versions — to Autotix, which matches it against advisory feeds and surfaces known-vulnerable dependencies. Reporting runs on `hook_cron` (once, then re-checked monthly and only re-sent when something changed); force an immediate report with:

```
drush autotix:report-env --force
```

The package list spans two ecosystems:

- **Drupal modules** (`ecosystem: Drupal`) — every installed module + version.
- **npm packages** (`ecosystem: npm`) — front-end JS dependencies with resolved versions read from `package-lock.json` (every lockfile format, direct + transitive). The module probes well-known locations without descending into `node_modules`: the Composer project root, the Drupal root, and custom theme/module/profile directories. A `package.json`with no committed lockfile is a best-effort fallback — only exact-pinned versions are reported, since a range is not a resolved install.

Development
-----------

[](#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
-------

[](#license)

GPL-2.0-or-later

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance97

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

5

Last Release

20d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3dea084fb130ad039b652f90918289daf2ff2ee81997bd4358525611a9bfc1ac?d=identicon)[danlinn](/maintainers/danlinn)

---

Top Contributors

[![danlinn](https://avatars.githubusercontent.com/u/617727?v=4)](https://github.com/danlinn "danlinn (31 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/autotix-drupal-module/health.svg)

```
[![Health](https://phpackages.com/badges/autotix-drupal-module/health.svg)](https://phpackages.com/packages/autotix-drupal-module)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B12.0k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

2041.5M292](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2428.5M361](/packages/open-telemetry-sdk)[az-digital/az_quickstart

Arizona Quickstart

52280.4k3](/packages/az-digital-az-quickstart)[govcms/govcms

GovCMS Drupal Distribution

198102.2k3](/packages/govcms-govcms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
