jacobhyde / tickets
There is no license information available for the latest version (dev-master) of this package.
dev-master
2021-11-24 01:11 UTC
Requires
- php: ^7.4|^8.0
- doctrine/dbal: ^3.1
- laravel/framework: 7.*|8.*
- laravel/helpers: ^1.3
- lorisleiva/laravel-actions: ^2.1
Requires (Dev)
- mockery/mockery: ^1.4
- orchestra/testbench: ^6.21
- phpunit/phpunit: ^9.3
- wulfheart/laravel-actions-ide-helper: ^0.1.0
This package is auto-updated.
Last update: 2024-10-24 07:40:55 UTC
README
Add ticketing to your Laravel API with Laravel Tickets. While there are other ticketing packages for Laravel, such as TicketIt, they all lack simplicity and ability to right into your API.
Perquisites
Have Laravel UI with Auth installed.
composer require laravel/ui
php artisan ui bootstrap --auth
npm install && npm run dev
Note, you do not need to use bootstrap.
Installation
composer require jacobhyde/tickets
php artisan vendor:publish --tag=tickets
Configuration
You will find configuration variables in config/tickets.php
return [
'user' => \App\Models\User::class,
'from_address' => '',
'from_name' => '',
'routes' => [
'api' => [
'prefix' => 'api/v1',
'middleware' => [],
],
'web' => [
'domain' => 'support.example.com',
'prefix' => '',
'middleware' => ['auth:web'],
],
],
'created' => [
'email' => null,
'user_guard' => 'api',
],
];