hamiddj/smart-ticket

laravel ticket plugin

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:Blade

Type:plugin

1.2.7 2023-07-25 14:17 UTC

This package is auto-updated.

Last update: 2025-04-26 01:05:42 UTC


README

Installation

composer require hamiddj/smart-ticket

php artisan migrate

php artisan vendor:publish for publish config file and views for customize

Site routes

/user/tickets method:get => Return user tickets view
/user/tickets/create method:get => Return create ticket view
/user/tickets method:post => Store new ticket
/user/tickets/show/{id} method:get => Return ticket's data view
/user/tickets/{id}/message method:post` => Answer the ticket

require

auth:[your user guard]

*you can change user gourd to your custom guard in /config/smartticket.php

admin routes

/admin/tickets method:get => Return all tickets view for admin
/admin/tickets/show/{id} method:get => Return ticket's data view
/admin/tickets/{id}/message method:post => Answer the ticket

require

auth:[your admin guard]

*you can change admin gourd to your custom guard in /config/smartticket.php

License

The Smart Ticket is open-sourced Package licensed under the [MIT license].