matks/customer-support-bundle
Composer 安装命令:
composer require matks/customer-support-bundle
包简介
Tickets-based bundle to integrate customer exchange in your symfony2 application
README 文档
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
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-07-31