nti/ticket-bundle

A ticketing system symfony bundle.

Installs: 379

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 6

Forks: 1

Open Issues: 0

Type:symfony-bundle

v3.2.1 2021-06-26 12:34 UTC

This package is auto-updated.

Last update: 2024-05-07 01:37:20 UTC


README

NTI ticket bundle is a symfony bundle that provide to your symfony application with multiples ticket management features.

Installation

  1. Install the bundle using composer:

    $ composer require ntidev/ticket-bundle
    
  2. Add the bundle configuration to the AppKernel

    public function registerBundles()
    {
        $bundles = array(
            ...
            new NTI\TicketBundle\NTITicketBundle(),
            ...
        );
    }
  3. Modify config.yml

    nti_ticket:
        ticket_service: # name of your TicketProcessInterface implementation class 
        documents_directory: # path to your documents project directory
        entities:
            resource:
                class: # your UserInterface implementation class Ex. AppBundle\Entity\User
                unique_field: uniqueId
                email_field: email
    
            contact:
                class: # your UserInterface implementation class Ex. AppBundle\Entity\Contact
                unique_field: uniqueId
                email_field: email
    
        email_client:
            provider: exchange # at the moment the bundle support exchange only.
            server: my.server
            account: my.account
            password: my.password
  4. Update the database schema

    $ php app/console doctrine:schema:update