PHPackages                             steadfastcollective/laravel-customer-io - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. steadfastcollective/laravel-customer-io

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

steadfastcollective/laravel-customer-io
=======================================

Customer.io notification channel for Laravel

1.1.5(5y ago)23.6k2[1 issues](https://github.com/steadfast-collective/laravel-customer-io/issues)MITPHPPHP ^7.2.5

Since Jul 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/steadfast-collective/laravel-customer-io)[ Packagist](https://packagist.org/packages/steadfastcollective/laravel-customer-io)[ Docs](https://github.com/steadfastcollective/laravel-customer-io)[ RSS](/packages/steadfastcollective-laravel-customer-io/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (5)Versions (8)Used By (0)

Customer io notification channel for Laravel
============================================

[](#customer-io-notification-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/353bd304555fc91396c0abce8517cd03a83cbdb6fdef6d9e934a61b73e39bd79/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737465616466617374636f6c6c6563746976652f6c61726176656c2d637573746f6d65722d696f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/steadfastcollective/laravel-customer-io)[![Build Status](https://camo.githubusercontent.com/d14f965ed63b8729c60b0bbdab3342958b4b3f6ba454cf26aaf9e45bb8c9a01f/68747470733a2f2f7472617669732d63692e636f6d2f7374656164666173742d636f6c6c6563746976652f6c61726176656c2d637573746f6d65722d696f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/steadfast-collective/laravel-customer-io)[![Total Downloads](https://camo.githubusercontent.com/1ea47d79ccd6c70b1268222edb310c77e48bee527fbe5e7ea3858b6ae38d0bd7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737465616466617374636f6c6c6563746976652f6c61726176656c2d637573746f6d65722d696f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/steadfastcollective/laravel-customer-io)[![StyleCI](https://camo.githubusercontent.com/67177c72c6e2e8682031f4253e57e52b4e4ea5ff05eccfde0d8e8dfbf5f38949/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3237393236343838312f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/279264881?branch=master)

This package makes it easy to send notifications using the Customer io API with Laravel.

About
-----

[](#about)

The Customer io channel makes it possible to send out Laravel notifications as a Customer io event. The notifiable model data will also be synced with Customer io and kept up to date.

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

[](#installation)

You can install the package via composer:

```
composer require steadfastcollective/laravel-customer-io
```

Setting up the Customer io service
----------------------------------

[](#setting-up-the-customer-io-service)

You will need to create a Customer io account to use this channel. Within your account, you will find the API key and the site ID. Place them inside your .env file:

```
CUSTOMER_IO_ENABLED=true
CUSTOMER_IO_SITE_ID=[SITE_ID]
CUSTOMER_IO_API_KEY=[API_KEY]
CUSTOMER_IO_MODEL=App\User

```

Usage
-----

[](#usage)

Add the trait to your notifiable model:

```
use Steadfastcollective\LaravelCustomerIo\Traits\SyncsToCustomerIo;

class User extends Authenticatable
{
    use Notifiable, SyncsToCustomerIo;

    // ...
}
```

Adding customer io support to the notification class:

```
use Steadfastcollective\LaravelCustomerIo\Channels\CustomerIoChannel;
```

```
    /**
     * Get the notification's delivery channels.
     *
     * @param  mixed  $notifiable
     * @return array
     */
    public function via($notifiable)
    {
        return [
            CustomerIoChannel::class,
        ];
    }

    /**
     * Get the customer io representation of the notification.
     *
     * @param  mixed  $notifiable
     * @return array
     */
    public function toCustomerIo($notifiable)
    {
        return [
            // ...
        ];
    }
}
```

Sync all customers with customer.io with a single command:

```
php artisan customer-io:sync-customers
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [André Breia](https://github.com/andrebreia)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~35 days

Recently: every ~45 days

Total

7

Last Release

1963d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d0aa8324bc8e417667f855edb80e98fcb38b988a7200df88c85983c7afc1fbcf?d=identicon)[steadfastcollective](/maintainers/steadfastcollective)

---

Top Contributors

[![duncanmcclean](https://avatars.githubusercontent.com/u/19637309?v=4)](https://github.com/duncanmcclean "duncanmcclean (6 commits)")[![andrebreia](https://avatars.githubusercontent.com/u/17434432?v=4)](https://github.com/andrebreia "andrebreia (3 commits)")

---

Tags

laravelCustomeriosteadfastcollectivelaravel-customer-io

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/steadfastcollective-laravel-customer-io/health.svg)

```
[![Health](https://phpackages.com/badges/steadfastcollective-laravel-customer-io/health.svg)](https://phpackages.com/packages/steadfastcollective-laravel-customer-io)
```

###  Alternatives

[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

254168.5k](/packages/erag-laravel-disposable-email)[php-flasher/flasher-laravel

Seamlessly integrate flash notifications into your Laravel applications with PHPFlasher. Enhance user feedback and engagement with minimal setup.

453.0M45](/packages/php-flasher-flasher-laravel)

PHPackages © 2026

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