Download the PHP package effectra/laravel-support-ticket without Composer
On this page you can find all versions of the php package effectra/laravel-support-ticket. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download effectra/laravel-support-ticket
More information about effectra/laravel-support-ticket
Files in effectra/laravel-support-ticket
Package laravel-support-ticket
Short Description The Effectra support ticket package for laravel.
License MIT
Informations about the package laravel-support-ticket
Laravel Support Ticket
A simple and extensible support ticket management system for Laravel.
Built for teams that need to manage customer tickets and responses directly inside their Laravel apps.
π Features
- π« Manage support tickets with customizable status, topic, and importance level.
- π¬ Allow users and employees to exchange responses.
- π§© Fully configurable: define your own models, enums, and table names.
- βοΈ Includes ready-to-publish migrations and config file.
- π Supports multiple languages (English & Arabic out of the box).
- πͺΆ Built with Spatie Laravel Package Tools for clean integration.
π¦ Installation
`
Requires PHP β₯ 8.1 and Laravel β₯ 10.
βοΈ Configuration
Publish the config and migrations:
Or run the install command provided by Spatieβs package tools:
Then run your migrations:
π§° Configuration Options
The published config file is located at:
Example configuration
π§± Migrations
The package includes two migrations:
- support_tickets β stores the main ticket data.
- support_tickets_responses β stores replies from users/employees.
You can modify these before running php artisan migrate.
π§© Enums
Enums are used for strong typing and cleaner logic:
| Enum | Values |
|---|---|
TicketStatusEnum |
PENDING, OPEN, CLOSED, RESOLVED |
TicketTopicEnum |
GENERAL_INQUIRY, TECHNICAL_ISSUE, BILLING, OTHER |
TicketImportanceLevelEnum |
LOW, MEDIUM, HIGH, CRITICAL |
Example usage:
π§ Basic Usage Example
Creating a Ticket
Adding a Response
Getting Ticket Responses
π Localization
Translations are stored in:
You can publish and customize them:
π§© Service Provider
The package automatically registers itself via Laravelβs package discovery.
However, if you need to register manually, add to your config/app.php:
π§ͺ Testing
To run the tests:
(Youβll need to create factories and test cases in your consuming app.)
π License
This package is open-sourced software licensed under the MIT license.
π¨βπ» Author
Mohammed Taha (BMT) Senior Full-Stack Developer β PHP / Laravel / React / TypeScript / NextJs π§ [email protected] π github.com/BMTmohammedtaha
β Contributing
Contributions, issues, and feature requests are welcome! Feel free to open a pull request or submit an issue on GitHub.
π Quick Recap
Then start managing your support tickets π