spanjaan/wn-support-plugin
Composer 安装命令:
composer require spanjaan/wn-support-plugin
包简介
A simple ticket system for WinterCMS
README 文档
README
THIS IS A MIRROR
Main repository with latest version is available at BitBucket
Simple support ticket manager for OctoberCMS written in 2 days by Jakub Zych
Features
- Frontend and Backend ticket creation
- Tickets management
- E-mail notifications
Installation
Plugin requires Rainlab Translate plugin and either Keios ProUser or Rainlab User for user management.
cd /path/to/your/octobercms/plugins
mkdir keios
cd keios
git clone https://github.com/keiosweb/oc-support-plugin.git support
cd support
composer update
cd ../../..
php artisan plugin:refresh keios.support
Configuration
Plugin includes four components - each of them should be put on a page accessible only to registered users. Default views use Twitter Bootstrap classes.
Ticket Form
Ticket Form a ticket creation form. You should put it on a website with user access only.
Ticket List
This is a component that will display all tickets created by user.
Ticket Attach
This component is responsible for frontend file upload requests processing. Put it on a clear page, without layout.
Ticket Status
This component displays ticket, its current status, comments and files and allows to add comments and files.
Component requires page with slug (eg /ticket/:hash). This slug, as well as page created for TicketAttach component, must then be entered into component properties.
Settings
Currently in Settings -> Support Settings there is only one field - Full ticket page address. You should enter there a fully qualified address of your ticket page (for example https://my.company.com/ticket-status/)
Tickets Management
Plugin allows registered clients to create support tickets, attach files to them and add comments. Created ticket appears in the backend as New, unassigned ticket and can be assigned to backend user.
After assignation, ticket changes status to Assigned and can be further modified (by assigning different status, priority or adding comments).
Commenting
Comments can be added by the creator of the ticket or by the backend user. Frontend is using TinyMCE for text editor, further protected from javascript injections by HTMLPurifier. Backend comments section is using october-included Redactor editor.
Mailing
Plugin has a basic mailing possibilities, covered by SupportMailer class. Right now it mails the user after creating ticket and after ticket update.
Statuses, Priorities and Categories
Plugins includes some generic statuses (like New, Assigned, Pending etc) and priorities (like Low, Medium, High) etc. New and Assigned are required statuses for proper plugin functioning. Categories are selectable by customer during ticket creation.
Additional statuses, priorities and categories can be added using Categories, Ticket Statuses and Ticket Priorities backend controllers.
Ticket list can be filtered by priorioty, status and category.
Translations
Plugin includes lang files for English and Polish. Frontend content can be translated by overriding components partials in theme, as they include RainLab Translate twig filters.
TODO
There is still a lot to do, most important points are:
High priority
- Separation of supporters (eg basic permissions allow only to see tickets that are new or assigned to self)
- Adding files from backend and better backend file management
- Tickets account (assigning customer given number of ticket and rejecting those above quota)
- Ticket updates messages in comments section
- Mailing upgrade - different email templates for different update types, mailing full comments content etc
Low priority
- Preparation of default generic OctoberCMS theme
- Internal tickets (where ticket creator is backend user) (?)
spanjaan/wn-support-plugin 适用场景与选型建议
spanjaan/wn-support-plugin 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 8 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 04 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 spanjaan/wn-support-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 spanjaan/wn-support-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-22