dainsys / support-tickets
Support and recipients management package for Dainsys. This package allows you to Associate recipients to your department files.
Installs: 82
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/dainsys/support-tickets
Requires
- asantibanez/livewire-charts: ^2.5
 - illuminate/support: ^9.21|^10.0|^11|^12
 - intervention/image: ^2.7
 - laravel/ui: ^4.0
 - livewire/livewire: ^2.10
 - maatwebsite/excel: ^3.1
 - owen-it/laravel-auditing: ^13.0
 - php-flasher/flasher-sweetalert-laravel: ^1.1
 - rappasoft/laravel-livewire-tables: ^2.8
 
Requires (Dev)
- nunomaduro/collision: v6.x-dev
 - orchestra/testbench: 7.x-dev
 
This package is auto-updated.
Last update: 2025-10-15 21:35:49 UTC
README
A full stack package to add tickets support functionality to Laravel applications.
Installation
- Require using composer: 
composer require dainsys/support-tickets. - You can install all package assets by running 
php artisan support:installcommand or@php artisan vendor:publish --force --tag=support:assets.- optionally, you add the following line to your 
composerfile, under thescriptsandpost-update-cmdkey, to publish the assets every time you update your composer dependencies:@php artisan vendor:publish --tag=support:assets --force --ansi. - If you may want to customize the migrations before next step, first publish them: 
@php artisan vendor:publish --force --tag=support:migrations. 
 - optionally, you add the following line to your 
 - This package relies on 
laravel/uipackage so make sure follow it's guidelines. - Run the migrations: 
php artisan migrate. 
Usage
- Identify at least one user as super admin, which will have no restrictions in the application, by running command 
php artisan support:create-super-user. - Add the following trait to the Athenticatable model, most like 
App\Models\User 
class User extends Authenticatable
{
    use \Dainsys\Support\Traits\HasSupportTickets;
    .....
}
Configure your application
- Optionally, you may want to publish and tweek the config file: 
@php artisan vendor:publish --force --tag=support:config. 
Features
- Super admin admin users can perform all type of actions.
 - Ability to separate tickets and support by departments.
 - Specific subjects for tickets.
 - Notifications based on model actions:
- Ticket Created: Department admins, department agents.
 - Ticket Assigned: ticket owner, ticket agent
 - Reply Created: ticket owner, ticket agent, department admins.
 - Ticket Completed: ticket owner, department admins, ticket agent.
 - Ticket Reopened: ticktet owner, department admins, ticket agent.
 - Ticket Deleted: ticktet owner, department admins, ticket agent.
 - Ticket Rated: department admins, ticket agent.
 
 - Timeframe: amount of time a ticket is expected to be completed, based on the subject priority
 - Completion rate: % of tickets completed
 - Compliance rate: % of tickets within the required timeframe
 - Satisfaction rate: average stars given to tickets divided by 5
 - Ticket actions:
- Owner / Regular users
- Create and update
 - Delete
 - Close
 - Reply
 - Rate service
 - Reopen
 - Department admins can assign tickets to their agents
 
 - Department Admins
- Access to department dashboard
 - Assign and reassign tickets to department agents
 - Close
 - Reopen
 
 - Department agents
- Grab (assign to themself) unassigned tickets
 - Reply
 - Close
 
 - Super admins
- Create or remove super admins
 - Manage departments
 - Manage subjects
 - manage department roles
 - View dashboard
 - Create, edit, delete, close, reply, assign tickets.
 
 
 - Owner / Regular users