yii2-keen An extension for http://keen.io

yii2-keen ΒΆ

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

0 0
1 follower
Yii Version: 2.0
License: BSD-2-Clause
Category: Others
Developed by: br0sk
Created on: Aug 3, 2015
Last updated: 8 years ago

Related Extensions