d3vnz/issuetracker
Composer 安装命令:
composer require d3vnz/issuetracker
包简介
Filament-based issue reporter with optional centralised TicketMate integration (GitHub issues + branded confirmation emails handled remotely).
README 文档
README
Filament-based issue tracker that creates GitHub issues from your app, mirrors them locally, and can optionally surface enriched data from a central TicketMate instance.
Requirements
- PHP 8.3+
- Laravel 11 / 12 / 13
- Filament 3 / 4 / 5
- (Optional) TicketMate instance at
https://helpdesk.d3v.nz
Installation
composer require d3vnz/issuetracker
php artisan vendor:publish --tag=d3vnz-issuetracker-migrations
php artisan migrate
php artisan vendor:publish --provider="GrahamCampbell\GitHub\GitHubServiceProvider"
.env
GITHUB_TOKEN=ghp_yourPersonalAccessToken GITHUB_OWNER=d3vnz GITHUB_REPO=mostech-v2
In config/services.php add:
'github' => [ 'token' => env('GITHUB_TOKEN'), 'owner' => env('GITHUB_OWNER'), 'repo' => env('GITHUB_REPO'), ],
Console schedule
Schedule::command('github:sync-issues')->everyThirtyMinutes();
TicketMate integration (recommended)
Instead of standalone polling + per-app email plumbing, point the package at a central TicketMate. TicketMate watches the GitHub repo via webhook, runs AI triage, captures URL screenshots, surfaces issues alongside support tickets and uptime alerts in one inbox.
One-time setup in TicketMate
- Open
https://helpdesk.d3v.nz/admin/repositoriesand create a record for the repo (e.g.d3vnz/mostech-v2). Set the brand and link a client/domain. - Copy the Webhook URL and Webhook secret, add them to GitHub → Settings → Webhooks (events: Issues + Issue comments, content-type
application/json). - Copy the API token shown on the same page.
.env additions for the consuming app
TICKETMATE_API_URL=https://helpdesk.d3v.nz TICKETMATE_API_TOKEN=the-token-from-the-repo-page TICKETMATE_USE_REMOTE_LISTINGS=true
When these are set, the package runs in fully centralised mode:
- The consuming app does NOT need a
GITHUB_TOKEN— TicketMate creates the GitHub issue with its own token and returns the result. - The package writes no issue data to your local database. Issues live in TicketMate (and GitHub). Locally they're cached for 10 minutes in your default
Cachestore (Redis if configured). - The Filament
IssueResourcetable is rendered from that cache — first hit refreshes, subsequent hits within 10 minutes serve the snapshot. - The package sends no emails. TicketMate handles the branded confirmation to the issue creator (and any subsequent status / comment notifications).
- Optional cron safety net (the lazy refresh on-render is usually sufficient):
// console.php Schedule::command('ticketmate:sync --quiet-on-empty')->everyTenMinutes();
Migrations from earlier versions (issues + issue_comments tables) are no longer needed when TicketMate is enabled. You can drop them safely:
php artisan tinker >>> Schema::dropIfExists('issue_comments'); >>> Schema::dropIfExists('issues');
When TICKETMATE_* env vars are NOT set, the package keeps its original behaviour (GitHub poll + local DB + local emails).
Configuration reference
See config/issuetracker.php for full options.
d3vnz/issuetracker 适用场景与选型建议
d3vnz/issuetracker 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.58k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 09 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「github」 「laravel」 「issue-tracking」 「filament」 「ticketmate」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 d3vnz/issuetracker 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 d3vnz/issuetracker 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 d3vnz/issuetracker 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Handles basic OAuth/OAuth2 authentication along with classes for common services
MediaWiki extension that allows embedding external content, specified by URL, into your wiki pages
The core repository for PHPFlasher, hosting the source code, contributions, issue tracking, and discussions for the PHPFlasher project. This mono-repo serves as the hub for development and community engagement.
Laravel package for the simplification and integration of many of your users most wanted login providers. Installation is a breeze. Never worry about OAuth again.
GitHub Webhook Listener with plugin-based API for creating your own triggerered actions
Creates a markdown changelog for your GitHub repository.
统计信息
- 总下载量: 1.58k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2024-09-16