liuggio / help-desk-bundle
提供帮助台和票务系统以支持您的客户,这是一个 #Symfony2 组件包
dev-master
2016-04-03 11:35 UTC
This package is not auto-updated.
Last update: 2024-09-19 03:28:09 UTC
README
开发状态。版本将在7月发布。
** 此组件包目前还不工作!!! **
此组件包的目的是支持帮助台。
开源支持票务系统。 (Symfony2 组件包)
查看Wiki
https://github.com/liuggio/HelpDeskBundle/wiki/Concept-key-RFC
像往常一样安装此组件包 :)
Composer: 将以下条目添加到您的 composer.json 中,然后运行 composer.phar install
。
1 将以下条目添加到 composer.json
中,然后运行 composer.phar install
。
"liuggio/help-desk-bundle": "dev-master"
2 在 app/AppKernel.php
中注册该组件包
$bundles = array( // ... new Liuggio\HelpDeskBundle\LiuggioHelpDeskBundle(), );
3 将以下条目添加到 app/config/routing.yml 中
LiuggioHelpDeskBundle_customer_care_ticket: resource: "@LiuggioHelpDeskBundle/Resources/config/routing.yml" prefix: /help-desk
或
myLiuggioHelpDeskBundle_customer_care_ticket: resource: "@LiuggioHelpDeskBundle/Resources/config/routing/user.yml" prefix: /help-desk/my myLiuggioHelpDeskBundle_customer_care_operator_ticket: resource: "@LiuggioHelpDeskBundle/Resources/config/routing/operator.yml" prefix: /help-desk/operator
4 将以下条目添加到 config.yml 中
liuggio_help_desk: object_manager: 'doctrine.odm.mongodb.document_manager' #or orm class: ticket: Liuggio\HelpDeskBundle\Entity\Ticket #optional comment: Liuggio\HelpDeskBundle\Entity\Comment #optional category: Liuggio\HelpDeskBundle\Entity\Category #optional user: YOUR/NAMESPACE/ENTITY/CLASS email: sender: terravision-developers@googlegroups.com subject_prefix: '[help Desk]' #optional
5 将以下条目添加到 security.yml 中
security:
//...
acl:
connection: default
access_control:
//...
# HelpDesk Ticket system
- { path: ^/help-desk/operator, role: [ROLE_HELP_DESK_OPERATOR, ROLE_ADMIN] }
- { path: ^/help-desk/, role: [IS_AUTHENTICATED_FULLY]}
** 您必须创建自己的用户实体,请参考 sonata user bundle **