Simple multilingual ticketing bundle to add to any project. Languages: English, French, Russian, German and Spanish.
- FOSUserBundle
- Knp Paginator
- Bootstrap v3 (optional) see: https://github.com/hackzilla/bootstrap-bundle
Add HackzillaTicketBundle in your composer.json:
{
"require": {
"hackzilla/ticket-bundle": "~0.8",
"hackzilla/fosuser-bridge-bundle": "~1.0.0",
"friendsofsymfony/user-bundle": "~2.0@dev",
}
}Install Composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
Now tell composer to download the library by running the command:
$ composer update hackzilla/ticket-bundleComposer will install the bundle into your project's vendor/hackzilla directory.
Enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(),
new Hackzilla\Bundle\FOSUserBridgeBundle\HackzillaFOSUserBridgeBundle(),
new Hackzilla\Bundle\TicketBundle\HackzillaTicketBundle(),
// ...
// Your application bundles
);
}hackzilla_ticket:
resource: "@HackzillaTicketBundle/Resources/config/routing.yml"
prefix: /All users can create tickets. You can assign ROLE_TICKET_ADMIN to any user you want to be able to administer the ticketing system.
app/console doctrine:schema:update --dump-sql
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
0.7 - TicketType and TicketMessageType have been moved into Form/Type folder. 0.9 - New template, and schema changes
I'm open to pull requests for additional languages, features and/or improvements.

