https://github.com/ntidev/ticketbundle
Provide ticket system features to your symfony application.
https://github.com/ntidev/ticketbundle
Last synced: 9 months ago
JSON representation
Provide ticket system features to your symfony application.
- Host: GitHub
- URL: https://github.com/ntidev/ticketbundle
- Owner: ntidev
- License: mit
- Created: 2018-09-21T16:11:34.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-06T19:09:13.000Z (almost 5 years ago)
- Last Synced: 2025-07-20T12:35:29.048Z (11 months ago)
- Language: PHP
- Size: 122 KB
- Stars: 4
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TicketBundle
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
```php
public function registerBundles()
{
$bundles = array(
...
new NTI\TicketBundle\NTITicketBundle(),
...
);
}
```
3. Modify config.yml
```yaml
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
$ php app/console doctrine:schema:update
```