codingagency/cody-support-filament
最新稳定版本:v1.0.0
Composer 安装命令:
composer require codingagency/cody-support-filament
包简介
Filament plugin for Cody.support issue reporting
README 文档
README
A Filament plugin that adds a 🛟 support button to your panel. Users can report issues directly to Cody.support without leaving the admin panel.
Supports Filament v4 (Livewire 3) and Filament v5 (Livewire 4).
Installation
composer require codingagency/cody-support-filament
Configuration
Add these variables to your .env file:
CODY_API_TOKEN=cody_your_api_token CODY_PROJECT_KEY=SHOP
Optionally publish the config file:
php artisan vendor:publish --tag=cody-config
Usage
Register the plugin in your PanelProvider:
use CodySupport\FilamentCody\CodyPlugin; public function panel(Panel $panel): Panel { return $panel // ... ->plugins([ CodyPlugin::make(), ]); }
That's it! A 🛟 button will appear in the top bar of your Filament panel. Clicking it opens a modal where users can submit issues with:
- Subject — Brief description
- Description — Detailed explanation
- Type — Bug, Task, Support, Improvement, or Idea
- Priority — Low, Medium, High, or Urgent
The authenticated user's name and email are automatically included, along with metadata (page URL, user agent, environment).
Customization
You can customize the available types and priorities:
CodyPlugin::make() ->types([ 'bug' => 'Bug', 'feature' => 'Feature Request', 'question' => 'Question', ]) ->priorities([ 'low' => 'Low', 'high' => 'High', ]),
License
MIT
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-17