PHPackages                             symfonylab/customerio-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. symfonylab/customerio-bundle

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

symfonylab/customerio-bundle
============================

Integrates customer.io into Symfony

04PHP

Since Nov 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/symfonylab/customerio-bundle)[ Packagist](https://packagist.org/packages/symfonylab/customerio-bundle)[ RSS](/packages/symfonylab-customerio-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

customer.io bundle
==================

[](#customerio-bundle)

[![Build Status](https://camo.githubusercontent.com/613cb94609146a69f6c3f35587fed166b5c64811a4888a1b5040cb3849b5e8f0/68747470733a2f2f7472617669732d63692e6f72672f73796d666f6e796c61622f637573746f6d6572696f2d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/symfonylab/customerio-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/4f436d5a0d616dce6b38cf28d723026f99bb65610e1bd842e36f682d1707a6dc/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e796c61622f637573746f6d6572696f2d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/symfonylab/customerio-bundle) [![Total Downloads](https://camo.githubusercontent.com/1aaeb29090e3387eb58ec36db0bbf31d434ee46666e355a83cfea62d22f2f6dd/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e796c61622f637573746f6d6572696f2d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/symfonylab/customerio-bundle) [![License](https://camo.githubusercontent.com/ccc52a9739f6da744bbb838a749ba1d9b4ed0eed78048f798b2632d0fe847ddf/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e796c61622f637573746f6d6572696f2d62756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/symfonylab/customerio-bundle)

Symfony integration for .

Configuration
-------------

[](#configuration)

Install the bundle using composer and register it in your Kernel.

Then configure your `site_id` and `api_key`:

```
# app/config/config.yml

symfonylab_customer_io:
  site_id:
  api_key:
```

Usage
-----

[](#usage)

### Customer model

[](#customer-model)

Implement `SymfonyLab\CustomerIOBundle\Model\CustomerInterface` on your customer domain class.

### Event Tracking / Customer identification

[](#event-tracking--customer-identification)

```
use SymfonyLab\CustomerIOBundle\Event\TrackingEvent;
use SymfonyLab\CustomerIOBundle\Event\ActionEvent;

/** @var \Symfony\Component\EventDispatcher\EventDispatcher $tracker */
$dispatcher = $this->getContainer()->get('event_dispatcher');

$customer = $repo->getCustomer(); // retrieve your customer domain object

// send the customer over to customer.io for identification
$dispatcher->dispatch(new TrackingEvent($customer));

// now track a `click` event
$dispatcher->dispatch(new ActionEvent($customer, 'click'));
```

### Webhooks

[](#webhooks)

The bundle comes with a controller which can consume customer.io [webhooks](http://customer.io/docs/webhooks.html).

To use them, register the routing.xml:

```
# app/config/routing.yml

customerio_hooks:
    resource: "@SymfonyLabCustomerIOBundle/Resources/config/routing.yaml"
```

Now your hook url will be `http://your.project.com/webhook` which you need to configure over at customer.io.

After doing so, you can listen to webhook events:

```

```

```
use SymfonyLab\CustomerIOBundle\Event\WebHookEvent;

class WebhookListener
{
    public function onClick(WebHookEvent $event)
    {
        $this->logger->info('Customer clicked on email with address: ' . $event->getEmail());
    }
}
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/34dfbad4039a4cd1509035ba0944d0d17306783c096cc1c4cf7f1f29ba0ff82b?d=identicon)[nevmmv](/maintainers/nevmmv)

---

Top Contributors

[![nevmmv](https://avatars.githubusercontent.com/u/15451336?v=4)](https://github.com/nevmmv "nevmmv (6 commits)")

### Embed Badge

![Health badge](/badges/symfonylab-customerio-bundle/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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