PHPackages                             keen-io/keen-io-bundle - 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. keen-io/keen-io-bundle

ActiveSymfony-bundle[API Development](/categories/api)

keen-io/keen-io-bundle
======================

Symfony Bundle for Keen IO

v1.8.0(1y ago)16488.5k↓37.5%8[1 PRs](https://github.com/keenlabs/KeenClient-PHP-SF2/pulls)MITPHPPHP &gt;=7.2

Since Jan 10Pushed 1y ago14 watchersCompare

[ Source](https://github.com/keenlabs/KeenClient-PHP-SF2)[ Packagist](https://packagist.org/packages/keen-io/keen-io-bundle)[ Docs](https://github.com/keenlabs/KeenClient-PHP-Sf2)[ RSS](/packages/keen-io-keen-io-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (12)Used By (0)

Keen IO Symfony2 Bundle
=======================

[](#keen-io-symfony2-bundle)

[![CI](https://github.com/keenlabs/KeenClient-PHP-SF2/actions/workflows/ci.yml/badge.svg)](https://github.com/keenlabs/KeenClient-PHP-SF2/actions/workflows/ci.yml)

### Overview

[](#overview)

The Keen IO Symfony2 Bundle allows you to quickly and easily use the [Keen IO PHP Client](https://github.com/keenlabs/KeenClient-PHP) in your Symfony 2 applications.

### Community-Supported SDK

[](#community-supported-sdk)

This is an *unofficial* community supported SDK.

### KeenIO Bundle Installation

[](#keenio-bundle-installation)

The best method of installation is through the use of composer.

##### Add the bundle to Composer

[](#add-the-bundle-to-composer)

```
{
    "require": {
        "keen-io/keen-io-bundle": "~1.3"
    }
}
```

##### Update AppKernel.php

[](#update-appkernelphp)

Add The KeenIO Bundle to your kernel bootstrap sequence

```
public function registerBundles()
{
	$bundles = array(
    	// ...
    	new KeenIO\Bundle\KeenIOBundle\KeenIOBundle(),
    );

    return $bundles;
}
```

##### Configure the Client

[](#configure-the-client)

The values for the configuration can be found in the Project Overview section of your Keen IO Dashboard

```
#app/config.yml

keen_io:
	version:     //version is optional and correctly defaults to 3.0
	project_id:
	master_key:
	write_key:
	read_key:

```

### Using the Client

[](#using-the-client)

Once configured the client is available through the service container in your application.

```
#src/AcmeBundle/Controller/YourController

public function indexAction()
{
    $client = $this->get('keen_io');
    $client->addEvent('example_collection', array( 'foo' => 'bar' ));

    // ...
}
```

Or it can be passed into your services through dependency injection:

```
#app/config/services.yml

# Example Tracking Service
tracking.service:
	class: Acme\Bundle\AcmeBundle\Service\Tracking
    arguments:
    	- @keen_io

```

Questions &amp; Support
-----------------------

[](#questions--support)

If you have any questions, bugs, or suggestions, please report them via Github Issues. Or, come chat with us anytime at . We'd love to hear your feedback and ideas!

Contributing
------------

[](#contributing)

This is an open source project and we love involvement from the community! Hit us up with pull requests and issues.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~382 days

Recently: every ~392 days

Total

11

Last Release

684d ago

PHP version history (3 changes)1.0.0PHP &gt;=5.3.0

1.1.1PHP &gt;=5.3.3

v1.5.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/11b9d244b3df424d6c533de4d090b20fa38821e1e6b94bb487ba56d009f8345c?d=identicon)[dkador](/maintainers/dkador)

![](https://www.gravatar.com/avatar/84ad9179e2241e556ef5d5155b3ec773d40562d325d4f9106c01af365a080a8d?d=identicon)[kmfk](/maintainers/kmfk)

---

Top Contributors

[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (57 commits)")[![k-k](https://avatars.githubusercontent.com/u/2430033?v=4)](https://github.com/k-k "k-k (9 commits)")[![tbarn](https://avatars.githubusercontent.com/u/2008034?v=4)](https://github.com/tbarn "tbarn (7 commits)")[![mhor](https://avatars.githubusercontent.com/u/4103719?v=4)](https://github.com/mhor "mhor (1 commits)")[![mickaelandrieu](https://avatars.githubusercontent.com/u/1247388?v=4)](https://github.com/mickaelandrieu "mickaelandrieu (1 commits)")[![Sekonda](https://avatars.githubusercontent.com/u/127744940?v=4)](https://github.com/Sekonda "Sekonda (1 commits)")

---

Tags

symfonybundleeventsanalyticskeenkeen.io

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/keen-io-keen-io-bundle/health.svg)

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

###  Alternatives

[sensiolabs/gotenberg-bundle

A Symfony bundle that provides seamless integration with Gotenberg for generating PDFs and screenshots from various sources (HTML, Markdown, Office documents, URLs) with a clean, builder-based API.

210210.4k2](/packages/sensiolabs-gotenberg-bundle)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[cmsig/seal-symfony-bundle

An integration of CMS-IG SEAL search abstraction into Symfony Framework.

15195.8k5](/packages/cmsig-seal-symfony-bundle)[stfalcon-studio/api-bundle

Base classes and helper services to build API application via Symfony.

1032.1k](/packages/stfalcon-studio-api-bundle)

PHPackages © 2026

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