matks / customer-support-bundle
Tickets-based bundle to integrate customer exchange in your symfony2 application
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- doctrine/doctrine-bundle: ^1.8
- doctrine/orm: ^2.6
- knplabs/doctrine-behaviors: ^1.5
- symfony/symfony: ^4.0
Requires (Dev)
- behat/symfony2-extension: ^2.1
- codedungeon/phpunit-result-printer: ^0.4.4
- phpunit/phpunit: ^6.5
This package is auto-updated.
Last update: 2024-12-10 00:22:24 UTC
README
Tickets-based bundle to integrate customer exchange in your symfony2 application
Installation
Step 1: composer requirements
Add the private repository metadata in your composer.json
{ "require": { "matks/customer-support-bundle": "1.2" }, }
Then run the composer command
$ 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
$ composer install --dev
Run the unit tests suite with phpunit binary
$ vendor/bin/phpunit
Run acceptance tests with behat binary using the fixture application and sqlite
$ vendor/bin/behat -c behat.ci.yml