PHPackages                             laravel-notification-channels/intercom - 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. laravel-notification-channels/intercom

ActiveLibrary

laravel-notification-channels/intercom
======================================

Intercom Notifications Driver

1.4.0(3y ago)523.8k8[1 PRs](https://github.com/laravel-notification-channels/intercom/pulls)MITPHPPHP &gt;=7.2

Since Sep 27Pushed 3y ago4 watchersCompare

[ Source](https://github.com/laravel-notification-channels/intercom)[ Packagist](https://packagist.org/packages/laravel-notification-channels/intercom)[ Docs](https://github.com/laravel-notification-channels/intercom)[ RSS](/packages/laravel-notification-channels-intercom/feed)WikiDiscussions master Synced 2mo ago

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

Intercom notifications channel for Laravel
==========================================

[](#intercom-notifications-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f3d45f355be02ffd54c31cc6b2dddfe045adb9523f607f16f7a03039929b133b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f696e746572636f6d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/intercom)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/873f424df04a9a1428365089f2351467c943074ab2853514cb1689cf4c9f7873/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f696e746572636f6d2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/laravel-notification-channels/intercom/build-status/master)[![StyleCI](https://camo.githubusercontent.com/7d6a8e2a4306f666e502c9f050f6902be9c4f23758d9dc760429821024c2bbe8/68747470733a2f2f7374796c6563692e696f2f7265706f732f3231313235393835302f736869656c64)](https://styleci.io/repos/211259850)[![Quality Score](https://camo.githubusercontent.com/22b1d0a4393315a519b5ba77b970b250dcd6b075a869c931fb165e85871da5ec/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f696e746572636f6d2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/intercom)[![Code Coverage](https://camo.githubusercontent.com/003619f52578d2c1db2c039f7cee786ffaa5f45f61cd473628403d100ea6577f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f696e746572636f6d2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/laravel-notification-channels/intercom/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/ba989747f869fa9eef6103933908b4ead4f1995f47c1500bb9b14cfc54bfce5e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f696e746572636f6d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/intercom)

This package makes it easy to send notifications using [Intercom](https://app.intercom.com) with Laravel.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Intercom service](#setting-up-the-intercom-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require laravel-notification-channels/intercom
```

### Setting up the Intercom service

[](#setting-up-the-intercom-service)

Add the followings to your `config/services.php`

```
'intercom' => [
    'token' => env('INTERCOM_API_KEY')
]
```

Add your Intercom Token to `.env`

```
INTERCOM_API_KEY=xxx

```

Usage
-----

[](#usage)

Now you can use the channel in your `via()` method inside the notification:

```
use NotificationChannels\Intercom\IntercomChannel;
use NotificationChannels\Intercom\IntercomMessage;
use Illuminate\Notifications\Notification;

class TestNotification extends Notification
{
    public function via($notifiable)
    {
        return ["intercom"];
    }

    public function toIntercom($notifiable): IntercomMessage
    {
        return IntercomMessage::create("Hey User!")
            ->from(123)
            ->toUserId(321);
    }
}
```

### Available methods

[](#available-methods)

- `body('')`: Accepts a string value for the Intercom message body
- `email()`: Accepts a string value for the Intercom message type `email`
- `inapp()`: Accepts a string value for the Intercom message type `inapp` (default)
- `subject('')`: Accepts a string value for the Intercom message body (using with `email` type)
- `plain()`: Accepts a string value for the Intercom message plain template
- `personal()`: Accepts a string value for the Intercom message personal template
- `from('123')`: Accepts a string value of the admin's id (sender)
- `to(['type' => 'user', 'id' => '321'])`: Accepts an array value for the recipient data
- `toUserId('')`: Accepts a string value for the Intercom message user by id recipient
- `toUserEmail('')`: Accepts a string value for the Intercom message user by email recipient
- `toContactId('')`: Accepts a string value for the Intercom message contact by id recipient

More info about fields read in [Intercom API Reference](https://developers.intercom.com/intercom-api-reference/reference#admin-initiated-conversation)

Changelog
---------

[](#changelog)

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

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

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

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

[](#contributing)

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

Credits
-------

[](#credits)

- [Andrey Telesh](https://github.com/ftw-soft)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~304 days

Total

5

Last Release

1197d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20937037?v=4)[Laravel Notification Channels](/maintainers/laravel-notification-channels)[@laravel-notification-channels](https://github.com/laravel-notification-channels)

---

Top Contributors

[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (6 commits)")[![ftw-soft](https://avatars.githubusercontent.com/u/3994510?v=4)](https://github.com/ftw-soft "ftw-soft (2 commits)")[![jquirogaa](https://avatars.githubusercontent.com/u/95649309?v=4)](https://github.com/jquirogaa "jquirogaa (1 commits)")[![Simoneu01](https://avatars.githubusercontent.com/u/43807696?v=4)](https://github.com/Simoneu01 "Simoneu01 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laravel-notification-channels-intercom/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-notification-channels-intercom/health.svg)](https://phpackages.com/packages/laravel-notification-channels-intercom)
```

###  Alternatives

[laravel/slack-notification-channel

Slack Notification Channel for laravel.

89069.7M111](/packages/laravel-slack-notification-channel)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/fcm

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)

PHPackages © 2026

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