sipsynergy/activity-stream-bundle
Composer 安装命令:
composer require sipsynergy/activity-stream-bundle
包简介
Activity Stream Bundle
关键字:
README 文档
README
About
@WIP
Activity Stream Bundle is a PHP 5.6+ Symfony bundle providing a stream activity log management.
Installation
With composer
This bundle can be installed using composer by adding the following in the require section of your composer.json file:
"require": { ... "sipsynergy/activity-stream-bundle": "1.0.0" },
Register the bundle
You must register the bundle in your kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Sipsynergy\ActivityStreamBundle\SipsynergyActivityStreamBundle(), ); // ... }
Run migrations.
Either using doctrine:migrations:migrate or doctrine:schema:update
Configuration
Configuring
If you wish to use your own default renderer, define it and point bundle to it.
# app/config/config.yml sipsynergy_activity_stream: renderer: default_class: YourRendererClass
Defining renderer services
In order to create new render service just provide definition for it with appropriate tag.
<service id="activity_stream.renderer_custom" class="%activity_stream.renderer_custom.class%"> <argument type="service" id="router"/> <tag name="activity_stream.renderer"/> </service>
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-10