maloun96/laravel-qa-orchestrator
最新稳定版本:v1.5.3
Composer 安装命令:
composer require --dev maloun96/laravel-qa-orchestrator
包简介
AI-powered QA automation: Jira webhook → AI test generation → Playwright PR → CI → Analysis → Jira update
README 文档
README
AI-powered QA automation: Jira webhook → AI test generation → Playwright PR → CI → Analysis → Jira update
Installation
composer require maloun96/laravel-qa-orchestrator
Configuration
Publish the config file:
php artisan vendor:publish --tag=qa-orchestrator-config
Add to .env:
# Jira QA_JIRA_BASE_URL=https://your-domain.atlassian.net QA_JIRA_EMAIL=your-email@example.com QA_JIRA_API_TOKEN=your-api-token QA_JIRA_QA_STATUS="Ready for QA" QA_JIRA_AUTO_CREATE_DEFECTS=false # Claude AI QA_CLAUDE_API_KEY=your-anthropic-api-key QA_CLAUDE_MODEL=claude-sonnet-4-20250514 # GitHub QA_GITHUB_TOKEN=your-github-token QA_GITHUB_REPO=owner/repo QA_GITHUB_DEFAULT_BRANCH=main
Migrations
php artisan migrate
Or publish migrations for customization:
php artisan vendor:publish --tag=qa-orchestrator-migrations
Architecture
Jira (Ready for QA) ──webhook──▶ JiraQAWebhookController
│
▼
JiraReadyForQAEvent
│
▼
ProcessJiraQAWebhookJob (queued)
│
┌───────────────────┼───────────────────┐
▼ ▼ ▼
JiraClient.getTicket Create QAProcess ClaudeService
│ │ .generateTestCases
└───────────────────┼───────────────────┘
▼
ClaudeService.generatePlaywright
│
▼
GitHubService.createBranch/commit/PR
│
▼
GitHub Actions (e2e_tests)
│
▼
GitHubQAWebhookController
│
▼
ClaudeService.analyzeResults
│
┌───────────────────┼───────────────────┐
▼ ▼ ▼
JiraClient.update Update QAProcess Create defects
API Endpoints
POST /api/qa/jira-webhook
Receives Jira webhooks when tickets move to "Ready for QA"
POST /api/qa/github-webhook
Receives GitHub Actions workflow completion events
Events
JiraReadyForQAEvent- Dispatched when a Jira ticket is ready for QATestCasesGeneratedEvent- Dispatched when test cases are generatedTestsCompletedEvent- Dispatched when GitHub Actions tests complete
Customization
Views
Publish views for customization:
php artisan vendor:publish --tag=qa-orchestrator-views
Views are located in resources/views/vendor/qa-orchestrator/prompts/:
generate-test-cases.blade.php- Test case generation promptgenerate-playwright.blade.php- Playwright code generation promptanalyze-results.blade.php- Test results analysis prompt
Disabling Routes
Set QA_ROUTES_ENABLED=false in .env to disable automatic route registration.
Custom Route Prefix
Set QA_ROUTES_PREFIX=your-prefix to change the route prefix.
License
MIT
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-04