PHPackages                             br0sk/yii2-keen - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. br0sk/yii2-keen

ActiveProject[API Development](/categories/api)

br0sk/yii2-keen
===============

The keen.io API for Yii2

0.1.3(10y ago)21.4kBSD-3-ClausePHPPHP &gt;=5.4.0

Since Jul 29Pushed 10y ago1 watchersCompare

[ Source](https://github.com/br0sk/yii2-keen)[ Packagist](https://packagist.org/packages/br0sk/yii2-keen)[ Docs](http://br0sk.blogspot.com)[ RSS](/packages/br0sk-yii2-keen/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

yii2-keen
=========

[](#yii2-keen)

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](https://keen.io).

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](https://github.com/keenlabs/KeenClient-PHP) this extension builds on

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~73 days

Total

4

Last Release

3721d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e3341dd80fb80b64df5891e5b5ba1294ad81542eb3a4bd28cdc72eb46905db0a?d=identicon)[br0sk](/maintainers/br0sk)

---

Top Contributors

[![br0sk](https://avatars.githubusercontent.com/u/1075997?v=4)](https://github.com/br0sk "br0sk (2 commits)")

---

Tags

yii2statisticskeen.io

### Embed Badge

![Health badge](/badges/br0sk-yii2-keen/health.svg)

```
[![Health](https://phpackages.com/badges/br0sk-yii2-keen/health.svg)](https://phpackages.com/packages/br0sk-yii2-keen)
```

###  Alternatives

[keen-io/keen-io-bundle

Symfony Bundle for Keen IO

16488.5k](/packages/keen-io-keen-io-bundle)[conquer/services

Yii2 soap wsdl web services

1632.5k](/packages/conquer-services)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1243.1k1](/packages/skeeks-yii2-google-api)[luyadev/luya-headless

LUYA headless API client

1025.6k3](/packages/luyadev-luya-headless)[apexwire/yii2-restclient

Tools to use API as ActiveRecord for Yii2

143.5k](/packages/apexwire-yii2-restclient)[kun391/yii2-paypal

Process with Paypal

161.6k](/packages/kun391-yii2-paypal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
