2017 © Pedro Peláez
 

symfony-bundle customer-support-bundle

Tickets-based bundle to integrate customer exchange in your symfony2 application

image

matks/customer-support-bundle

Tickets-based bundle to integrate customer exchange in your symfony2 application

  • Friday, January 5, 2018
  • by matks
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

CustomerSupportBundle

Latest Stable Version Build Status Scrutinizer Code Quality Code Coverage Latest Unstable Version License, (*1)

Tickets-based bundle to integrate customer exchange in your symfony2 application, (*2)

Installation

Step 1: composer requirements

Add the private repository metadata in your composer.json, (*3)

{
    "require": {
        "matks/customer-support-bundle": "1.2"
    },
}

Then run the composer command, (*4)

$ php composer.phar install

Step 2: Enable the bundle in your Symfony application

<?php
    // app/AppKernel.php

    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Matks\Bundle\CustomerSupportBundle\CustomerSupportBundle(),
        )
    }

Step 3: Configure doctrine entity resolver

doctrine:
    orm:
        resolve_target_entities:
            Matks\Bundle\CustomerSupportBundle\Model\UserInterface: Matks\Bundle\CustomerSupportBundle\Entity\User
            Matks\Bundle\CustomerSupportBundle\Model\MessageInterface: Matks\Bundle\CustomerSupportBundle\Entity\Message
            Matks\Bundle\CustomerSupportBundle\Model\TicketInterface: Matks\Bundle\CustomerSupportBundle\Entity\Ticket
            Matks\Bundle\CustomerSupportBundle\Model\CategoryInterface: Matks\Bundle\CustomerSupportBundle\Entity\Category

Tests

Stand alone context

In a bundle isolation context, just install the dev dependencies with composer, (*5)

$ composer install --dev

Run the unit tests suite with phpunit binary, (*6)

$ vendor/bin/phpunit

Run acceptance tests with behat binary using the fixture application and sqlite, (*7)

$ vendor/bin/behat -c behat.ci.yml

The Versions

05/01 2018