smoya/omniata-bundle

该软件包已被废弃,不再维护。未建议替代软件包。
最新版本(1.0.0)的软件包没有提供许可证信息。

Symfony2 Bundle 用于整合 Omniata 组件(smoya/omniata-component)

1.0.0 2014-09-12 00:28 UTC

This package is not auto-updated.

Last update: 2021-10-30 06:45:58 UTC


README

Build Status Latest stable

将 Omniata 组件 smoya/omniata-component 整合到 Symfony2。

安装

最佳安装方式是使用 Composer

将其添加到您的 composer.json

"require": {
	"smoya/omniata-bundle": "*"
}

并运行

$ composer update

配置

smoya_omniata:
	api_key: kaei330 # required
	tracker: 
	    url: https://api.omniata.com/event # Optional
	    timeout: 1000 # Optional. Time in ms. Timeout for the Omniata server response on event sending.
	deliverer:
	    url: https://api.omniata.com/channel # Optional
	    timeout: 1000 # Optional. Time  in ms. Timeout for the Omniata server response on delivering content.

服务

事件追踪器

smoya_omniata.tracker 使用 事件 API 将事件发送到 Omniata。

请参阅 Tracker 类。

频道投递者

smoya_omniata.deliverer 使用 频道 API 获取频道内容。

请参阅 Deliverer 类。