Simple but effective solutions to provide support
rexlmanu/laravel-tickets is a Laravel package for simple but effective solutions to provide support.
It currently has 17 GitHub stars and 1.213 downloads on Packagist (latest version 2.5).
Install it with composer require rexlmanu/laravel-tickets.
Discover more Laravel packages by rexlmanu
or browse all Laravel packages to compare alternatives.
Last updated
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.
Ticket list:
Ticket creation:
Ticket show:

You can install the package via composer:
composer require rexlmanu/laravel-tickets
After the installation
php artisan vendor:publish --provider=RexlManu\LaravelTickets\LaravelTicketsServiceProvider
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.
composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.