laravel maintained by autotix
Description
Captures PHP errors, exceptions, and log entries and sends them to Autotix for automated Jira ticket creation and auto-fix PRs.
Author
Last update
2026/07/27 21:26
(dev-main)
License
Downloads
4
Tags
Autotix for Laravel
Captures PHP errors, exceptions, and log entries from your Laravel app and sends 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.
Install
composer require autotix/laravel
The service provider is auto-discovered. Publish the config if you want to customize:
php artisan vendor:publish --provider="Autotix\Laravel\AutotixServiceProvider"
Configure
Grab your org webhook token from app.autotix.io → Settings, then set:
AUTOTIX_ENABLED=true
AUTOTIX_AUTH_TOKEN=your-org-webhook-token
That's it. Uncaught exceptions, PHP errors, and Log::error()/Log::critical() calls are forwarded automatically.
Options (config/autotix.php)
| Env var | Default | Purpose |
|---|---|---|
AUTOTIX_ENABLED |
true |
Master switch. |
AUTOTIX_AUTH_METHOD |
token |
token (X-Webhook-Token header) or hmac (HMAC-SHA256, needs AUTOTIX_HMAC_SECRET). |
AUTOTIX_AUTH_TOKEN |
— | Your org webhook token. |
AUTOTIX_CAPTURE_WARNINGS |
true |
Forward PHP warnings. |
AUTOTIX_CAPTURE_NOTICES |
false |
Forward PHP notices. |
AUTOTIX_CAPTURE_DEPRECATED |
false |
Forward deprecation notices. |
AUTOTIX_CAPTURE_LOG |
true |
Forward Log::error() / Log::critical(). |
AUTOTIX_DEDUP_WINDOW |
86400 |
Seconds to suppress repeat sends of the same error (0 = off). |
AUTOTIX_INCLUDE_BACKTRACE |
true |
Attach the full stack trace. |
AUTOTIX_USE_QUEUE |
false |
Deliver via a queued job instead of inline. |
AUTOTIX_TEST_ROUTE |
true |
Expose a test route that raises a deliberate error end-to-end. |
Testing the pipeline
With AUTOTIX_TEST_ROUTE=true (non-production), visit the test route to trigger a deliberate error and confirm a ticket shows up in Autotix.
Development
composer install
vendor/bin/phpunit
License
MIT