jeffersongoncalves/filament-help-desk
Filament plugins that add User, Operator, and Admin panels for ticket management on top of jeffersongoncalves/laravel-help-desk. Includes publishing for config, views, and translations. Requires PHP 8.3, Laravel 11.28, and Filament 5.

Filament plugins for jeffersongoncalves/laravel-help-desk — providing User, Operator, and Admin panels for ticket management.
| Plugin Version | Filament | Laravel | PHP |
|---|---|---|---|
| 1.x | ^3.0 | ^10 | ^11 | ^12 | ^8.1 |
| 2.x | ^4.0 | ^11.0 | ^8.2 |
| 3.x | ^5.0 | ^11.28 | ^8.3 |
^8.3^11.28^5.0^1.0You can install the package via composer:
composer require jeffersongoncalves/filament-help-desk:^3.0
php artisan vendor:publish --tag="filament-help-desk-config"
php artisan vendor:publish --tag="filament-help-desk-views"
php artisan vendor:publish --tag="filament-help-desk-translations"
Note: Make sure you have already installed and configured jeffersongoncalves/laravel-help-desk (migrations, config, etc.) before using this package.
use JeffersonGoncalves\HelpDesk\Concerns\HasTickets;
use JeffersonGoncalves\HelpDesk\Concerns\IsOperator;
class User extends Authenticatable
{
use HasTickets;
use IsOperator; // Only needed for users who act as operators/admins
}
This package provides 3 independent plugins that can be registered in any combination across your panels:
For end-users to create and track their tickets.
use JeffersonGoncalves\FilamentHelpDesk\FilamentHelpDeskUserPlugin;
class UserPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugins([
FilamentHelpDeskUserPlugin::make(),
]);
}
}
Provides:
For support agents to manage and respond to tickets.
use JeffersonGoncalves\FilamentHelpDesk\FilamentHelpDeskOperatorPlugin;
class OperatorPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugins([
FilamentHelpDeskOperatorPlugin::make(),
]);
}
}
Provides:
For administrators to configure the help desk system.
use JeffersonGoncalves\FilamentHelpDesk\FilamentHelpDeskAdminPlugin;
class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugins([
FilamentHelpDeskAdminPlugin::make(),
]);
}
}
Provides:
Tip: You can combine plugins in a single panel. For example, register both
FilamentHelpDeskAdminPluginandFilamentHelpDeskOperatorPluginin your admin panel.
The configuration file config/filament-help-desk.php allows you to customize:
return [
'user' => [
'resource' => \JeffersonGoncalves\FilamentHelpDesk\User\Resources\TicketResource::class,
'widgets' => [
\JeffersonGoncalves\FilamentHelpDesk\User\Widgets\UserTicketStatsWidget::class,
],
'navigation_group' => 'Support',
'navigation_icon' => 'heroicon-o-ticket',
'navigation_sort' => null,
'slug' => 'tickets',
],
'operator' => [
'resource' => \JeffersonGoncalves\FilamentHelpDesk\Operator\Resources\TicketResource::class,
'widgets' => [
\JeffersonGoncalves\FilamentHelpDesk\Operator\Widgets\TicketsByStatusWidget::class,
\JeffersonGoncalves\FilamentHelpDesk\Operator\Widgets\AssignedTicketsWidget::class,
],
'navigation_group' => 'Help Desk',
'navigation_icon' => 'heroicon-o-inbox-stack',
'slug' => 'tickets',
],
'admin' => [
'navigation_group' => 'Help Desk',
'navigation_icon' => 'heroicon-o-cog-6-tooth',
'resources' => [
'ticket' => \JeffersonGoncalves\FilamentHelpDesk\Admin\Resources\TicketResource::class,
'department' => \JeffersonGoncalves\FilamentHelpDesk\Admin\Resources\DepartmentResource::class,
'category' => \JeffersonGoncalves\FilamentHelpDesk\Admin\Resources\CategoryResource::class,
'canned_response' => \JeffersonGoncalves\FilamentHelpDesk\Admin\Resources\CannedResponseResource::class,
'email_channel' => \JeffersonGoncalves\FilamentHelpDesk\Admin\Resources\EmailChannelResource::class,
],
'widgets' => [
\JeffersonGoncalves\FilamentHelpDesk\Admin\Widgets\TicketsByPriorityWidget::class,
\JeffersonGoncalves\FilamentHelpDesk\Admin\Widgets\TicketStatsOverviewWidget::class,
],
],
];
Override any resource by pointing to your own class in the config:
'user' => [
'resource' => \App\Filament\User\Resources\CustomTicketResource::class,
],
Your custom resource can extend the default one:
namespace App\Filament\User\Resources;
use JeffersonGoncalves\FilamentHelpDesk\User\Resources\TicketResource as BaseResource;
class CustomTicketResource extends BaseResource
{
public static function form(Form $form): Form
{
return $form->schema([
...static::getTicketFormSchema(isUser: true),
// Add your custom fields
]);
}
}
Each panel registers dashboard widgets that can be customized via the widgets config key. You can reorder, remove, or add your own widgets:
'admin' => [
'widgets' => [
\JeffersonGoncalves\FilamentHelpDesk\Admin\Widgets\TicketStatsOverviewWidget::class,
// Remove TicketsByPriorityWidget by not including it
\App\Filament\Widgets\CustomDashboardWidget::class, // Add your own
],
],
To disable all widgets for a panel, set it to an empty array:
'user' => [
'widgets' => [],
],
You can disable any resource by removing or commenting out its key in the config file. The navigation item will automatically be hidden for any resource whose config key is not present.
For example, to disable the email channel resource in the admin panel:
'admin' => [
'resources' => [
'ticket' => \JeffersonGoncalves\FilamentHelpDesk\Admin\Resources\TicketResource::class,
'department' => \JeffersonGoncalves\FilamentHelpDesk\Admin\Resources\DepartmentResource::class,
'category' => \JeffersonGoncalves\FilamentHelpDesk\Admin\Resources\CategoryResource::class,
'canned_response' => \JeffersonGoncalves\FilamentHelpDesk\Admin\Resources\CannedResponseResource::class,
// 'email_channel' => \JeffersonGoncalves\FilamentHelpDesk\Admin\Resources\EmailChannelResource::class,
],
],
To disable the entire User or Operator panel resource, set the resource key to null:
'user' => [
'resource' => null, // Disables the user ticket resource
// ...
],
'operator' => [
'resource' => null, // Disables the operator ticket resource
// ...
],
The package includes translations for:
en)pt_BR)To add or modify translations, publish them and edit the files in resources/lang/vendor/filament-help-desk/.
composer test
composer analyse
composer format
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.
How can I help you explore Laravel packages today?