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

ActiveLibrary[API Development](/categories/api)

fabioferreira/customerio
========================

Customer IO Laravel package

v1.2(5y ago)07MITPHPPHP &gt;=7.4

Since Sep 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/fabioferreira3/laravel-customerio)[ Packagist](https://packagist.org/packages/fabioferreira/customerio)[ Docs](https://github.com/fabioferreira3/laravel-customerio)[ RSS](/packages/fabioferreira-customerio/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (5)Used By (0)

CustomerIO Laravel package
==========================

[](#customerio-laravel-package)

..[![](https://camo.githubusercontent.com/34b920eaf5965ec9fafda6ebef5db6be2ad6db5158881c55b39a08b0eab0d67e/68747470733a2f2f692e70696e696d672e636f6d2f66617669636f6e732f66626361386237613631303034313131333061626332663233353237613138626136313431383461316666316235323239336534636330342e69636f3f3135623534326665396161653538663361663038373732643233343135373432)](https://camo.githubusercontent.com/34b920eaf5965ec9fafda6ebef5db6be2ad6db5158881c55b39a08b0eab0d67e/68747470733a2f2f692e70696e696d672e636f6d2f66617669636f6e732f66626361386237613631303034313131333061626332663233353237613138626136313431383461316666316235323239336534636330342e69636f3f3135623534326665396161653538663361663038373732643233343135373432)[![](https://camo.githubusercontent.com/2418051f1d4b19b53f972aab681c7c5a621155fd5b956de482b106f76d750345/68747470733a2f2f7777772e66756c6c6661747468696e67732e636f6d2f73697465732f64656661756c742f66696c65732f7374796c65732f316f66345f7371756172655f78732f7075626c69632f6669656c645f636172645f696d6167652f6c61726176656c2d6c6f676f2e706e672e6a70673f69746f6b3d386770396c586d72)](https://camo.githubusercontent.com/2418051f1d4b19b53f972aab681c7c5a621155fd5b956de482b106f76d750345/68747470733a2f2f7777772e66756c6c6661747468696e67732e636f6d2f73697465732f64656661756c742f66696c65732f7374796c65732f316f66345f7371756172655f78732f7075626c69632f6669656c645f636172645f696d6167652f6c61726176656c2d6c6f676f2e706e672e6a70673f69746f6b3d386770396c586d72)About
-----

[](#about)

- [CustomerIO](https://customer.io)
- [Laravel](https://laravel.com)

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

[](#installation)

From your project folder:

- Run `composer require fabioferreira/customerio`
- Run `php artisan vendor:publish --all`

Then add the following keys to your .env file (you can grab the correct keys in the workspace integration settings page):

- CUSTOMERIO\_SITE\_ID=your\_workspace\_site\_id
- CUSTOMERIO\_API\_KEY=your\_workspace\_api\_key

Getting started
---------------

[](#getting-started)

Laravel CustomerIO package provides a facade that you can just import and use virtually anywhere in your project:

Example:

```
use FabioFerreira\CustomerIO\Facades\CustomerIO;

Route::get('/create-customer', function () {

    $customerID = 123;
    $customerAttributes = ['first_name' => 'Fabio', 'email' => 'fabio86ferreira@gmail.com'];

    return CustomerIO::createCustomer($customerID, $customerAttributes);

 });

```

### Available methods

[](#available-methods)

MethodParametersDescriptioncreateCustomerstring customerId, array customerAttributesCreates a new customerupdateCustomerstring customerId, array customerAttributesUpdates a customer by its IDdeleteCustomerstring customerIdDeletes a customer by its IDtriggerEventOnCustomerstring customerId, string eventName, array eventAttributesSends an event on a customertriggerAnonymousEventstring eventName, array eventAttributesSends an anonymous eventContributing
------------

[](#contributing)

Feel free to create issues and report bugs.

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

3

Last Release

2072d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c88fef126d379a6713b32ab26ec1e303494cf51ef4e485ab6bea62bfbb6f1fe?d=identicon)[fabioferreira](/maintainers/fabioferreira)

---

Top Contributors

[![fabioferreira3](https://avatars.githubusercontent.com/u/45289455?v=4)](https://github.com/fabioferreira3 "fabioferreira3 (1 commits)")

### Embed Badge

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

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

###  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.9M271](/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)
