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
pkg:composer/hamiddj/smart-ticket
Requires
- php: ^8.0
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].