codingagency / cody-support-filament
Filament plugin for Cody.support issue reporting
Package info
github.com/CodingAgency/cody-support-filament
pkg:composer/codingagency/cody-support-filament
Requires
- php: ^8.1
- filament/filament: ^3.0|^4.0
- illuminate/support: ^10.0|^11.0|^12.0
Requires (Dev)
- orchestra/testbench: ^8.0|^9.0|^10.0
- pestphp/pest: ^2.0|^3.0
- pestphp/pest-plugin-laravel: ^2.0|^3.0
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