承接 br0sk/yii2-keen 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

br0sk/yii2-keen

最新稳定版本:0.1.3

Composer 安装命令:

composer create-project br0sk/yii2-keen

包简介

The keen.io API for Yii2

README 文档

README

A Yii2 extension for http://keen.io

This is an extension for Yii2 that makes it easy to use http://keen.io/.

You can configure it in your application configuration like so:

'keen' => [
    'class' => 'br0sk\keen\KeenIo',
    'projectId' => 'yourprojectid',
    'readKey' 	=> 'yourreadkey',
    'writeKey'	=> 'yourwritekey'
],

note: You can find the project id and push API key in the control panel for you project if you log in here.

Adding it to your components array.

Pushing an event is as easy as:

$event = ['purchase' => ['item' => 'Golden Elephant']];
$keenReturn = Yii::$app->keen->addEvent('purchases', $event);

You can now use all the calls in the Keen PHP SDK this extension builds on

统计信息

  • 总下载量: 1.37k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-07-29