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

AbandonedLibrary[API Development](/categories/api)

shapin/customerio
=================

PHP client for customer.io API

18.9kPHPCI failing

Since Dec 7Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

CustomerIO PHP SDK
==================

[](#customerio-php-sdk)

[![latest version](https://camo.githubusercontent.com/1fe4464ec3e795074e46d7f0cb4add7c3d60ffe99a4e4d47f1f5f1d296e676c5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f73686170696e74762f637573746f6d6572696f2e7376673f7374796c653d666c61742d737175617265)](https://github.com/shapintv/customerio/releases)[![total downloads](https://camo.githubusercontent.com/af48750c9fba0e790d745cd4cdb6e9a0659fece6e2ddb098e5ccf580ae7c06a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73686170696e2f637573746f6d6572696f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shapin/customerio)

Install
-------

[](#install)

Via Composer

```
$ composer require shapintv/customerio
```

Usage
-----

[](#usage)

```
// Create HTTP Clients
$behavioralTrackingClient = HttpClient::create([
    'base_uri' => 'https://track.customer.io/api/v1/',
    'auth_basic' => [self::SITE_ID, self::API_KEY],
    'headers' => [
        'Content-Type' => 'application/json',
    ],
]);

$apiClient = HttpClient::create([
    'base_uri' => 'https://api.customer.io/v1/api/',
    'auth_basic' => [self::SITE_ID, self::API_KEY],
    'headers' => [
        'Content-Type' => 'application/json',
    ],
]);

$apiClient = new CustomerIOClient($behavioralTrackingClient, $apiClient);

// Create a customer
$apiClient->customers()->createOrUpdate('my_custom_id', [
    'email' => 'georges@abitbol.com',
]);
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

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/6662493c184b0ed32978349f4162cac376a2e1026c7f3a06cf1a9565867ecf15?d=identicon)[odolbeau](/maintainers/odolbeau)

---

Top Contributors

[![odolbeau](https://avatars.githubusercontent.com/u/680206?v=4)](https://github.com/odolbeau "odolbeau (3 commits)")

---

Tags

customeriophp-sdksdk

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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