Download the PHP package cavitznky/ticket-system without Composer
On this page you can find all versions of the php package cavitznky/ticket-system. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cavitznky/ticket-system
More information about cavitznky/ticket-system
Files in cavitznky/ticket-system
Package ticket-system
Short Description A comprehensive ticket system for Laravel applications with multi-language support
License MIT
Homepage https://github.com/cavitznky/ticket-system
Informations about the package ticket-system
Laravel Ticket System
A comprehensive ticket system for Laravel applications.
Installation
You can install the package via composer:
Publishing Assets
You can publish the config, migrations, views, and translations using the following commands:
Customization
Customizing the components
You can publish and modify all the components to adapt them to your needs:
-
Publish the components you want to customize:
-
After publishing, the components will be available in your application:
- Livewire component:
app/Livewire/TicketSystem.php - Models:
app/Models/TicketSystem/ - Traits:
app/Traits/TicketSystem/
- Livewire component:
- Modify them according to your needs. When you publish a component, you take full control of it and it will no longer be updated when you update the package.
Using published components
If you've published the Livewire component, make sure to update your view to use your application's namespace:
Note: Laravel will automatically use the component from your application instead of the one from the package.
Usage
To make your User model compatible with the ticket system, use the HasTickets trait:
To define admin users who can manage all tickets, add the getTicketAdmin method to your User model:
Adding the Livewire Component
Add the ticket system component to your view:
Features
- Create, view, edit and delete tickets
- Respond to tickets
- Change ticket status (open, in progress, resolved, closed)
- Set ticket priority (low, medium, high, urgent)
- Filter tickets by status and priority
- Search tickets by title and description
- Multi-language support (EN, FR, NL, TR)
Languages
The package supports the following languages:
- English (en)
- French (fr)
- Dutch (nl)
- Turkish (tr)
Configuration
You can customize the ticket system by publishing the config file:
Events
This package provides the following events that you can listen to in your application:
TicketCreated
Fired when a new ticket is created.
TicketUpdated
Fired when a ticket is updated.
TicketStatusChanged
Fired when a ticket's status is changed.
TicketResponseAdded
Fired when a response is added to a ticket.
TicketDeleted
Fired when a ticket is deleted.
License
The MIT License (MIT). Please see License File for more information.
All versions of ticket-system with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0
livewire/livewire Version ^3.0