Currently v3 is a work in progress, please use v2.
Simple multilingual ticketing bundle to add to any project. Languages: English, French, Russian, German and Spanish.
- PHP >= 5.6
- Symfony ~2.8|~3.0
- FOSUserBundle
- Knp Paginator
- Bootstrap v3 (optional) see: http://symfony.com/blog/new-in-symfony-2-6-bootstrap-form-theme
| Ticket Bundle | Symfony | PHP |
|---|---|---|
| 3.x (master) | ^2.8|^3.0 | >=5.6 |
| 2.x | ^2.7|^3.0 | >=5.3 |
| 1.x | ^2.3 | >=5.3 |
| 0.x | ^2.3 | >=5.3 |
See Ticket Bundle Demo App for an example installation. This can also be used for confirming bugs.
TicketBundle show fires events for creating, updating, and deleting of tickets.
- hackzilla.ticket.create
- hackzilla.ticket.update
- hackzilla.ticket.delete
See for example of how to create listener: http://symfony.com/doc/current/cookbook/service_container/event_listener.html
Add your user, ticket and ticket message entities into your config.
hackzilla_ticket:
user_class: AppBundle\Entity\User
ticket_class: AppBundle\Entity\Ticket
message_class: AppBundle\Entity\MessageYour entities needs to implement:
| Entity | Interface |
|---|---|
| User | Hackzilla\Bundle\TicketBundle\Model\UserInterface |
| Ticket | Hackzilla\Bundle\TicketBundle\Model\MessageInterface |
| Message | Hackzilla\Bundle\TicketBundle\Model\TicketMessageInterface |
These optional features that can be turned on or off.
Ticket and TicketMessage entities still exist and the config will default to them if not overridden.
hackzilla_ticket:
user_class: AppBundle\Entity\User
ticket_class: Hackzilla\Bundle\TicketBundle\Entity\Ticket
message_class: Hackzilla\Bundle\TicketBundle\Entity\TicketMessageAny reference to TicketMessage constants will need to use TicketMessageInterface.
Add your user class into your config.
hackzilla_ticket:
user_class: AppBundle\Entity\UserHackzilla\Bundle\TicketBundle\User\UserInterface has been replaced with Hackzilla\Bundle\TicketBundle\Manager\UserManagerInterface
Your user class needs to implement Hackzilla\Bundle\TicketBundle\Model\UserInterface
Roles are now checked against the User
I'm open to pull requests for additional languages, features and/or improvements.

