wabisoft/craft-issue-reporter
最新稳定版本:0.2.7
Composer 安装命令:
composer require wabisoft/craft-issue-reporter
包简介
Report issues to Relay
README 文档
README
Craft CMS plugin that injects the IssueRelay feedback widget for logged-in CP users.
Setup
- Install the plugin
- Go to Settings > Issue Reporter in the CP
- Paste your Host URL, Project UUID, API Key, and API Secret from the IssueRelay dashboard
- Save
The widget automatically appears on all front-end pages for users with CP access. No template changes needed.
Environment Variables
All string and numeric settings support $ENV_VAR syntax directly in the CP settings fields. Boolean settings support env vars via the dropdown menu.
ISSUE_RELAY_HOST_URL=https://issuerelay.com ISSUE_RELAY_PROJECT_UUID=your-uuid ISSUE_RELAY_API_SECRET=your-secret
Then in plugin settings, enter $ISSUE_RELAY_HOST_URL, $ISSUE_RELAY_PROJECT_UUID, $ISSUE_RELAY_API_SECRET. The placeholders show these names by default.
Config File Overrides
Create config/issue-reporter.php to override any setting. Config file values take precedence over CP settings.
<?php use craft\helpers\App; return [ 'hostUrl' => App::env('ISSUE_RELAY_HOST_URL'), 'projectUuid' => App::env('ISSUE_RELAY_PROJECT_UUID'), 'apiSecret' => App::env('ISSUE_RELAY_API_SECRET'), 'tokenTtl' => 3600, 'autoInject' => true, 'includeCraftContext' => true, 'primaryColor' => App::env('ISSUE_RELAY_PRIMARY_COLOR'), 'primaryHoverColor' => null, 'maxLogFiles' => 5, 'maxLogFileSize' => 32, 'maxTotalLogSize' => 10000, 'allowedUserGroups' => [], 'logFiles' => [ ['pattern' => 'web.log'], ['pattern' => 'console-*.log'], ], ];
Settings overridden by the config file appear as disabled with a warning in the CP.
Requirements
- Craft CMS 5.9+
- PHP 8.2+
统计信息
- 总下载量: 141
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2026-02-09