PHPackages                             roesten/rocketchat - 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. roesten/rocketchat

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

roesten/rocketchat
==================

package to send messages in rocket chat channels

v0.2.0(2y ago)25MITPHPPHP ^8.0

Since May 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/roes10/rocketchat)[ Packagist](https://packagist.org/packages/roesten/rocketchat)[ RSS](/packages/roesten-rocketchat/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

rocketchatchannel
=================

[](#rocketchatchannel)

It is a simple package for sending messages using rocket chat channels. This is very simple and without many dependencies.

How to install

```
composer require roestreich/rocketchatchannel
```

How to use

Create a new instance of Message
================================

[](#create-a-new-instance-of-message)

```
$message = new Message();
$message->setImportant(false);
$message->setSuccess(false);
#name channel
$message->setChannel('test');
$message->setText(Markdown::table(['Country','City'],['Spain','Madri']));
```

Create a new instance of RocketChat
===================================

[](#create-a-new-instance-of-rocketchat)

```
$clientRocketChat = new RocketChat('https://rocketchat.com.br/api/v1/','UGS45hIeD29u0SYmwAdVmdF7cNbOd0ydg4487S9zgw5','SJSGHJLKlhdds');
$clientRocketChat->sendMessage($message);
```

And is it very simple!

Message types
-------------

[](#message-types)

Bold

```
$message->setText(Markdown::bold('Spain'));
```

Result Bold

**Spain**

Headings h1 &gt; h6

```
$message->setText(Markdown::headings('Spain',1));
$message->setText(Markdown::headings('Spain',2));
$message->setText(Markdown::headings('Spain',3));
$message->setText(Markdown::headings('Spain',4));
$message->setText(Markdown::headings('Spain',5));
$message->setText(Markdown::headings('Spain',6));
```

Result Headings

Spain
=====

[](#spain)

Spain
-----

[](#spain-1)

### Spain

[](#spain-2)

#### Spain

[](#spain-3)

#### Spain

[](#spain-4)

###### Spain

[](#spain-5)

List

```
$message->setText(Markdown::listItem(['Spain','Portugal','France']));
```

Result List

- Spain
- Portugal
- France

Code Block

The second argument is optional and default is sh, but have many options for syntax highlighting code some examples: 'js','php','ruby'

```
$message->setText(Markdown::codeBlock('npm install --production
NODE_ENV=production node app','js'));
```

Result Code Block

```
npm install --production
NODE_ENV=production node app
```

Table

```
$message->setText(Markdown::table(['Country','City'],['Spain','Madri']));
```

Result Table

CountryCitySpainMadri

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

2

Last Release

821d ago

PHP version history (2 changes)v0.1.0PHP ^7.0|^8.0

v0.2.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e0e007b78929e59596b96d2298d807f08d9156c959440d4c640dbffb39f1f97?d=identicon)[shoesten-tag](/maintainers/shoesten-tag)

---

Top Contributors

[![roes10](https://avatars.githubusercontent.com/u/30882168?v=4)](https://github.com/roes10 "roes10 (11 commits)")

---

Tags

laravelnotificationsmessageschatrocketchatnotification-channelrocket-chat

### Embed Badge

![Health badge](/badges/roesten-rocketchat/health.svg)

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

###  Alternatives

[laravel-notification-channels/rocket-chat

Rocket.Chat Notifications channel for Laravel 5.6+

1345.5k](/packages/laravel-notification-channels-rocket-chat)[edvinaskrucas/notification

Package for Laravel for helping to manage flash / instant notifications / messages.

520393.9k10](/packages/edvinaskrucas-notification)[team-nifty-gmbh/laravel-rocket-chat-notifications

Rocket.Chat Notifications for laravel

301.9k](/packages/team-nifty-gmbh-laravel-rocket-chat-notifications)[devmarketer/laraflash

A powerful and flexible flash notifications system. Improving over built-in Laravel Flash messaging functionality.

6310.3k1](/packages/devmarketer-laraflash)[usamamuneerchaudhary/filament-notifier

A powerful notification system for FilamentPHP that handles multi-channel notifications with template management, scheduling, and real-time delivery. Built for developers who need enterprise-grade notifications without the complexity.

321.1k](/packages/usamamuneerchaudhary-filament-notifier)

PHPackages © 2026

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