yeknava/simple-ticketing
Composer 安装命令:
composer require yeknava/simple-ticketing
包简介
simple ticketing package for laravel
README 文档
README
Laravel Simple Ticketing Package lets you handle simple case of ticketing in your applications. everything defines in config file, even you may decide whether you need to store tickets in database or just like to send it through admin's email address.
Installation
Use the package manager composer to install simple ticketing package.
composer require yeknava/simple-ticketing
Usage
Run this command in your terminal:
php artisan vendor:publish
Config
<?php
return [
/*
* route's base path that will be used for package specific routes.
* (use 'php artisan route:list' to find out all paths)
*/
'route_base_path' => 'tickets',
'categories' => [
[
'label' => 'bug report',
'value' => 'bug'
],
[
'label' => 'feature request',
'value' => 'feature'
],
],
'priorities' => [
[
'label' => 'low',
'value' => 1
],
[
'label' => 'normal',
'value' => 2
],
[
'label' => 'high',
'value' => 3
],
],
/*
* admin's email address that will be used to notify him/her for each user tickets
*/
'admin_email' => env('ST_ADMIN_EMAIL', ''),
/*
* specify fields that user required to fill for sending ticket
*/
'required_user_info' => [
'email',
//'phone',
//'name'
],
/*
* middleware checks that admin needs to pass to respond to ticket or reply one
*/
'admin_middlewares' => ['auth:admin'],
/*
* middleware checks that user needs to pass to send ticket or reply one
*/
'user_middlewares' => [],
/*
* if true it would check category and priority fields to match with values
* defined in above to ensure values are in correct range, otherwise
* users may specify category or priority fields by themselves
*/
'force_check_fields' => false,
/*
* set this true if you need store tickets to database,
* otherwise it would just pass to admin email
*/
'store_in_database' => true,
/*
* Notify user via email whenever admin respond or reply (yes they are different!
* each ticket may have only one respond message from admin and/or unlimited
* reply from admin or user) to a ticket,
* (tickets should store to database and email column should be filled)
*/
'respond_email_notify' => true,
/*
* reply option allows admin and users continue their communication on same topic.
*/
'reply' => true,
'list_paginate' => 15
];
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
yeknava/simple-ticketing 适用场景与选型建议
yeknava/simple-ticketing 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 168 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 09 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 yeknava/simple-ticketing 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 yeknava/simple-ticketing 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 168
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-14