rexlmanu/laravel-tickets
Laravel Tickets
Simple but effective solution to provide support. Due to its lightweight construction, it fits into any project. In addition, it offers a wide range of configuration options from the start and is therefore suitable for any area.
Features
- Highly configurable
- auto closing
- file upload support
- permission support
- ticket categories
- priority
- easy to customize
- uuid support
- declare ticket reference
- multiple language support
Preview
Ticket list:
Ticket creation:
Ticket show:

Todos
- Improve documentation
- tailwind and vue frontend
- admin ticket scaffold
- unit tests
- uuid:
- rule,
- migrations
- controller stuff
Installation
You can install the package via composer:
composer require rexlmanu/laravel-tickets
After the installation
php artisan vendor:publish --provider=RexlManu\LaravelTickets\LaravelTicketsServiceProvider
Documentation
Currently the views are only implemented for bootstrap. After publishing, you should implement the layouts.
The trait HasTickets should be added to the user model
use RexlManu\LaravelTickets\Traits\HasTickets;
class User
{
use HasTickets; // important for laravel-tickets
}
The ticket routes can be implemented via the macro
use Illuminate\Routing\Controller;
use RexlManu\LaravelTickets\Controllers\TicketControllable;
class TicketController extends Controller {
use TicketControllable;
}
Route::tickets( TicketController::class );
For ticket referneces
use Illuminate\Database\Eloquent\Model;
use RexlManu\LaravelTickets\Interfaces\TicketReference;
use RexlManu\LaravelTickets\Traits\HasTicketReference;
class ExampleModel extends Model implements TicketReference {
use HasTicketReference;
// Check if user has access to this model
function hasReferenceAccess() : bool {
return request()->user()->user_id == $this->user_id;
}
}
Add this model to the list of reference models now and Then you should see this model as reference
Config: All points of the configuration are documented.
Testing
composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email rexlmanude@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 2.5 | ^7.4| | ^8.0| | MIT | |
| 2.4 | ^7.4| | ^8.0| | MIT | |
| 2.3 | ^7.4| | ^8.0| | MIT | |
| 2.2 | ^7.4 | ^8.0 | MIT | |
| 2.1 | ^7.4 | ^8.0 | MIT | |
| 2.0 | ^7.4 | ^8.0 | MIT | |
| 1.9 | ^7.4 | ^8.0 | MIT | |
| 1.8 | ^7.4 | ^8.0 | MIT | |
| 1.7 | ^7.4 | ^8.0 | MIT | |
| 1.6 | ^7.4 | ^8.0 | MIT | |
| 1.5 | ^7.4 | ^8.0 | MIT | |
| 1.4 | ^7.4 | ^8.0 | MIT | |
| 1.3 | ^7.4 | ^8.0 | MIT | |
| 1.2 | ^7.4 | ^8.0 | MIT | |
| 1.1 | ^7.4 | ^8.0 | MIT | |
| 1.0 | ^7.4 | ^8.0 | MIT |