br0sk/yii2-keen The API for Yii2


A Yii2 extension for

This is an extension for Yii2 that makes it easy to use

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


GitHub Stars
GitHub Forks



0.1.3 is the latest of 4 releases

BSD-3-Clause license
1 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
1358 total downloads