idci/notification-bundle
Composer 安装命令:
composer require idci/notification-bundle
包简介
Symfony NotificationBundle
README 文档
README
Symfony2 notification bundle
Installation
Add dependencies in your composer.json file:
"require": { ... "jms/serializer-bundle": "dev-master", "friendsofsymfony/rest-bundle": "dev-master", "idci/notification-bundle": "dev-master" },
Install these new dependencies of your application:
$ php composer.phar update
Enable bundles in your application kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new FOS\RestBundle\FOSRestBundle(), new JMS\SerializerBundle\JMSSerializerBundle(), new IDCI\Bundle\NotificationBundle\IDCINotificationBundle(), ); }
Import the routing configuration:
# app/config/routing.yml idci_notification_api: type: rest resource: "@IDCINotificationBundle/Resources/config/routing.yml" prefix: /api
Documentation
Tests
Install bundle dependencies:
$ php composer.phar update
To execute unit tests:
$ phpunit --coverage-text
统计信息
- 总下载量: 7.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2013-07-12