PHPackages                             shutterstock/customerio-client - 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. shutterstock/customerio-client

ActiveLibrary[API Development](/categories/api)

shutterstock/customerio-client
==============================

PHP Client for Server-Side Customer.io Communication

2.0.0(10y ago)21.8kMITPHPPHP &gt;=5.4

Since Sep 11Pushed 10y ago32 watchersCompare

[ Source](https://github.com/shutterstock/customerio-client)[ Packagist](https://packagist.org/packages/shutterstock/customerio-client)[ RSS](/packages/shutterstock-customerio-client/feed)WikiDiscussions ss/master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

customerio-client
=================

[](#customerio-client)

A lightweight client to deal with the REST endpoints of customer.io (which are write-only).

More information: [customer.io rest documentation](http://customer.io/docs/api/rest.html)

Installation
------------

[](#installation)

Use composer.

Usage
-----

[](#usage)

Make sure that you use autoloader and the proper namespace.

```
require 'vendor/autoload.php';
use Shutterstock\CustomerIO\Client;

```

The only parameters to pass in with construct is your site id and secret key. Unless you have global CURL options, than pass that in as an optional third array parameter.

```
$client = new Client($site_id, $site_key);

```

Then just use it. Here is a list of the four main things you can do.

```
$client->createCustomer($user_id, $user_email, (optional) $user_attributes);
$client->updateCustomer($user_id, $user_email, (optional) $user_attributes);
$client->deleteCustomer($user_id);
$client->trackEvent($user_id, $event_name, (optional) $data);

```

These four methods are well documented in the class. Oh, and any failures will throw custom, verbose exceptions, so you may want to wrap any calls.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

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 ~299 days

Total

2

Last Release

4013d ago

Major Versions

1.0.0 → 2.0.02015-07-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a4eb553ed7677c6aa2c5adb9d20191557e64369c14a9d4b2371c924c4517dff?d=identicon)[jacobemerick](/maintainers/jacobemerick)

---

Top Contributors

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

---

Tags

Customeriophp client

### Embed Badge

![Health badge](/badges/shutterstock-customerio-client/health.svg)

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

###  Alternatives

[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[userscape/customerio

PHP API for Customer.io

33824.7k1](/packages/userscape-customerio)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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