定制 autotix/laravel 二次开发

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

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

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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固