PHPackages                             ftw-soft/intercom-notification-channel - 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. ftw-soft/intercom-notification-channel

Abandoned → [laravel-notification-channels/intercom](/?search=laravel-notification-channels%2Fintercom)ArchivedLibrary[Mail &amp; Notifications](/categories/mail)

ftw-soft/intercom-notification-channel
======================================

Intercom Notifications Driver

v1.1.1(6y ago)21.5k↓33.3%1MITPHPPHP &gt;=7.1.3

Since Sep 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ftw-soft/intercom-notification-channel)[ Packagist](https://packagist.org/packages/ftw-soft/intercom-notification-channel)[ Docs](https://github.com/ftw-soft/intercom-notification-channel)[ RSS](/packages/ftw-soft-intercom-notification-channel/feed)WikiDiscussions master Synced 1mo ago

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

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

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/80ac95a99c95c21ed2359cd9c819c2c002302a11054e1b70ee8f36a86fabf7df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6674772d736f66742f696e746572636f6d2d6e6f74696669636174696f6e2d6368616e6e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ftw-soft/intercom-notification-channel)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/68bce47f58da3f07b6338750cbd525001c18c2e965cc874b22852407b597b6a3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6674772d736f66742f696e746572636f6d2d6e6f74696669636174696f6e2d6368616e6e656c2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ftw-soft/intercom-notification-channel/build-status/master)[![StyleCI](https://camo.githubusercontent.com/bcb05b17dbd24efd179d630fce97e5660afcd57ffddbc74370e205fa40845f08/68747470733a2f2f7374796c6563692e696f2f7265706f732f3134383631303038372f736869656c64)](https://styleci.io/repos/148610087)[![Quality Score](https://camo.githubusercontent.com/ceec6b13423e39a55550c656265246fc85a74914c66dd5c98c39351e01837509/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6674772d736f66742f696e746572636f6d2d6e6f74696669636174696f6e2d6368616e6e656c2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ftw-soft/intercom-notification-channel)[![Code Coverage](https://camo.githubusercontent.com/277eda4bcb952b1f306615172edfa72f9c82e358785013347222473315dcdadc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6674772d736f66742f696e746572636f6d2d6e6f74696669636174696f6e2d6368616e6e656c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ftw-soft/intercom-notification-channel/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/8c8837bf9a78299b1183e1b774e0ddc173f4340672c46285c5d671b728647c3d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6674772d736f66742f696e746572636f6d2d6e6f74696669636174696f6e2d6368616e6e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ftw-soft/intercom-notification-channel)

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

Abandoned
---------

[](#abandoned)

Current project is abandoned now. Please use official release now from [laravel-notification-channels/intercom](https://github.com/laravel-notification-channels/intercom)

### How to migrate?

[](#how-to-migrate)

- Update your `composer.json`: change `"ftw-soft/intercom-notification-channel": "*"` to `"laravel-notification-channels/intercom": "^1.0"`
- Run `$ composer update` within your project directory
- Replace all references of `FtwSoft\NotificationChannels` to `NotificationChannels` accross all of your project
- ...
- Profit!

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 ftw-soft/intercom-notification-channel
```

### Setting up the Intercom service

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

Once installed you need to register the service provider with the application. Open up `config/app.php` and find the `providers` key.

```
'providers' => [

    \FtwSoft\NotificationChannels\Intercom\IntercomServiceProvider::class,

]
```

Put 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 FtwSoft\NotificationChannels\Intercom\Contracts\IntercomNotification;
use FtwSoft\NotificationChannels\Intercom\IntercomChannel;
use FtwSoft\NotificationChannels\Intercom\IntercomMessage;
use Illuminate\Notifications\Notification;

class TestNotification extends Notification implements IntercomNotification
{
    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

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% 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 ~94 days

Total

5

Last Release

2424d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/852af1519100d046fd377eda2c3a2c1ea3d09aedd382f3e5c0f7425e8cacdfd7?d=identicon)[ftw-soft](/maintainers/ftw-soft)

---

Top Contributors

[![ftw-soft](https://avatars.githubusercontent.com/u/3994510?v=4)](https://github.com/ftw-soft "ftw-soft (5 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (2 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (1 commits)")

---

Tags

api-clientintercomlaravellaravel-notification-channels

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ftw-soft-intercom-notification-channel/health.svg)

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

###  Alternatives

[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)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[laravel-notification-channels/aws-sns

Amazon Simple Notification Service (AWS SNS) notification channel for Laravel.

541.1M2](/packages/laravel-notification-channels-aws-sns)

PHPackages © 2026

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