autotix/laravel
Composer 安装命令:
composer require autotix/laravel
包简介
Captures PHP errors, exceptions, and log entries and sends them to Autotix for automated Jira ticket creation and auto-fix PRs.
README 文档
README
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
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-15