Skip to content

Latest commit

 

History

History
executable file
·
102 lines (60 loc) · 2.12 KB

README.md

File metadata and controls

executable file
·
102 lines (60 loc) · 2.12 KB

HelpDeskBundle

Develpment status. Release will be on july.

** This bundle is not working yet!!! **

The objective of this bundle is support the Help desk.

Open source support ticket system. (Symfony2 bundle)

See wiki

https://github.com/liuggio/HelpDeskBundle/wiki/Concept-key-RFC

Install this bundle as always :)

Composer: add to your composer

1 Add the following entry to composer.json the run composer.phar install.

  "liuggio/help-desk-bundle": "dev-master"

2 Register the bundle in app/AppKernel.php

    $bundles = array(
        // ...
        new Liuggio\HelpDeskBundle\LiuggioHelpDeskBundle(),
    );

3 Add to app/config/routing.yml

LiuggioHelpDeskBundle_customer_care_ticket:
    resource: "@LiuggioHelpDeskBundle/Resources/config/routing.yml"
    prefix:   /help-desk

or

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 Add the following entries to 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: [email protected]
        subject_prefix: '[help Desk]'                     #optional

5 Add the following entries to 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]}

** You have to create your own user entity see sonata user bundle **