PHPackages                             autotix/php-sdk - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. autotix/php-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

autotix/php-sdk
===============

Shared PHP core for Autotix framework integrations (Drupal, WordPress, Laravel). Wire format, HTTP client, auth, and utilities — framework-agnostic.

0.2.0(2w ago)053MITPHPPHP &gt;=8.1

Since Jun 11Pushed 1w agoCompare

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

READMEChangelog (2)Dependencies (5)Versions (3)Used By (3)

Autotix PHP SDK
===============

[](#autotix-php-sdk)

Shared PHP core for the Autotix framework integrations ([Drupal](https://github.com/HelloWorldDevs/autotix-drupal), [WordPress](https://github.com/HelloWorldDevs/autotix-wordpress), [Laravel](https://github.com/HelloWorldDevs/autotix-laravel)). Wire format, webhook HTTP client, auth, and utilities — framework-agnostic.

[Autotix](https://autotix.io) turns production errors 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.

Install
-------

[](#install)

```
composer require autotix/php-sdk
```

Requires PHP &gt;= 8.1 and any PSR-18 HTTP client (Guzzle works out of the box and is what Drupal, WordPress, and Laravel ship with).

What's inside
-------------

[](#whats-inside)

ClassPurpose`Autotix\PhpSdk\WebhookClient`Sends error payloads to the Autotix webhook. JSON encoding, `X-Webhook-Token` or HMAC-SHA256 auth, debug logging, delivery-outcome recording.`Autotix\PhpSdk\BacktraceFormatter`Formats `debug_backtrace()` output into a stack-trace string.`Autotix\PhpSdk\UrlExtractor`Extracts the request URL from the current environment for error attribution.`Autotix\PhpSdk\StateRecorderInterface`Optional sink for delivery outcomes (back it with Drupal state, WP options, Laravel cache, …).Usage
-----

[](#usage)

```
use Autotix\PhpSdk\WebhookClient;

$client = new WebhookClient(
    $psr18Client,          // any PSR-18 ClientInterface
    $psr17RequestFactory,  // PSR-17 RequestFactoryInterface
    $psr17StreamFactory,   // PSR-17 StreamFactoryInterface
    [
        'auth_method' => 'token',           // or 'hmac'
        'auth_token'  => 'your-org-token',  // from app.autotix.io → Settings
    ],
);

$client->send([
    'message'     => $exception->getMessage(),
    'stack_trace' => $exception->getTraceAsString(),
    'url'         => 'https://example.com/checkout',
    'environment' => 'production',
]);
```

If you're on Drupal, WordPress, or Laravel, use the corresponding integration instead — they wire all of this up for you.

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

[](#development)

```
composer install
vendor/bin/phpunit
```

License
-------

[](#license)

MIT

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance97

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity33

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 ~28 days

Total

2

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 (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/autotix-php-sdk/health.svg)

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k17](/packages/tempest-framework)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

36789.4k2](/packages/telnyx-telnyx-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k47](/packages/civicrm-civicrm-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[anthropic-ai/sdk

Anthropic PHP SDK

163583.3k20](/packages/anthropic-ai-sdk)

PHPackages © 2026

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