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

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

laravel-notification-channels/gitter
====================================

Gitter Notifications channel for Laravel

v2.2.0(5y ago)101913MITPHPPHP ^7.2.5

Since Aug 17Pushed 5y ago2 watchersCompare

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

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

Gitter.im notifications channel for Laravel
===========================================

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/7bedd7811d702479f7a86f487d7ab616a00fe2acc87166e9f0071810e0f7d616/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6769747465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/gitter)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/22965ba58819dd92f7c558ab4db31cd1c987ce10ca0739226f8f3b3eabcb6199/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6769747465722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/laravel-notification-channels/gitter)[![StyleCI](https://camo.githubusercontent.com/990793b290164cbe5e56f4c1d924b8b7d9d7ec52b31a6dccd1e41477957344e8/68747470733a2f2f7374796c6563692e696f2f7265706f732f36353835353337342f736869656c64)](https://styleci.io/repos/65855374)[![SensioLabsInsight](https://camo.githubusercontent.com/56d464ca4725fe120fe8af1ced505c54ca518c14d4f25db887b5036fe7cd89b0/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f66336239666139622d323331352d343135342d623861642d6632643636363139333964642e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/f3b9fa9b-2315-4154-b8ad-f2d6661939dd)[![Quality Score](https://camo.githubusercontent.com/8f376f97b560d7043c606941ac74e1c3d32656b920169cf1a2f49ff60449ee54/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6769747465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/gitter)[![Code Coverage](https://camo.githubusercontent.com/ec3149b53c007839d6f3f751ff3cf6cd26f48e1e5f419d4acd86bbfd119654b4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6769747465722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/gitter/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/d768b81169ebc5b1f159e919e5d59b4a332a860603eda725f6bab98d61a79ddb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6769747465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/gitter)

This package makes it easy to send notifications using [Gitter.im](//gitter.im) with Laravel 5.5+, 6.x &amp; 7.x.

Contents
--------

[](#contents)

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

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

[](#installation)

Install this package with Composer:

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

If you're using Laravel 5.x you'll also need to specify a version constraint:

```
composer require laravel-notification-channels/gitter -v 1.0.1
```

### Setting up the Gitter service

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

In order to send message to Gitter rooms, you need to obtain [Personal Access Token or application token](https://developer.gitter.im/apps).

Usage
-----

[](#usage)

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

```
use Illuminate\Notifications\Notification;
use NotificationChannels\Gitter\GitterMessage;
use NotificationChannels\Gitter\GitterChannel;

class TaskCompleted extends Notification
{
    public function via($notifiable)
    {
        return [GitterChannel::class];
    }

    public function toGitter($notifiable)
    {
        return GitterMessage::create("Task #{$notifiable->id} is complete!")
            ->room('room_id') // optional
            ->from('user_or_app_access_token');
    }
}
```

In order to let your notification know which Gitter room you are targeting, add the `routeNotificationForGitter` method to your Notifiable model:

```
public function routeNotificationForGitter()
{
    return 'room_id';
}
```

### Available methods

[](#available-methods)

`from()`: Sets the sender's access token.

`room()`: Specifies the room id to send the notification to (overridden by `routeNotificationForGitter` if empty).

`content()`: Sets a content of the notification message. Supports Github flavoured markdown.

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)

- [JhaoDa](https://github.com/jhaoda)
- [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

Popularity19

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 62.1% 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 ~247 days

Recently: every ~324 days

Total

7

Last Release

2069d ago

Major Versions

0.0.1 → v1.0.02016-08-24

v1.0.2 → v2.0.02019-09-11

PHP version history (3 changes)0.0.1PHP &gt;=5.6.4

v2.0.0PHP ^7.2

2.1.0PHP ^7.2.5

### 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

[![jhaoda](https://avatars.githubusercontent.com/u/2151259?v=4)](https://github.com/jhaoda "jhaoda (18 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (6 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (2 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (1 commits)")[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (1 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (1 commits)")

---

Tags

gitter-apilaravellaravel-5-packagenotification-channelnotificationslaravelnotificationsgitter.im

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

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

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[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/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[benwilkins/laravel-fcm-notification

Laravel FCM (Firebase Cloud Messaging) Notification Channel

210964.1k1](/packages/benwilkins-laravel-fcm-notification)[laravel-notification-channels/smsc-ru

SmscRu Notifications channel for Laravel 5.3.

51192.8k](/packages/laravel-notification-channels-smsc-ru)

PHPackages © 2026

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