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

ActiveLibrary

7sg/rocketchat-webhook
======================

1.0.1(5y ago)11071[2 PRs](https://github.com/sebastiansommer/7sg-rocketchat-webhook/pulls)MITPHP

Since Jul 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/sebastiansommer/7sg-rocketchat-webhook)[ Packagist](https://packagist.org/packages/7sg/rocketchat-webhook)[ RSS](/packages/7sg-rocketchat-webhook/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

7sg-rocketchat-webhook
======================

[](#7sg-rocketchat-webhook)

A PHP interface to send requests to Rocket Chat incoming webhooks.

Install
-------

[](#install)

```
composer require 7sg/rocketchat-webhook
```

Usage
-----

[](#usage)

### Simple message

[](#simple-message)

```
use Seven\RocketChatWebHook\Message as RocketChatMessage;
use Seven\RocketChatWebHook\RocketChat;

RocketChat::setEndPoint('https:/rocketchat.url');

$message = new RocketChatMessage('Hello!');
$message->setEmoji('🥳');

RocketChat::sendMessage($message, 'webhook-hash-and-channel');
```

### Messages can also have attachments

[](#messages-can-also-have-attachments)

You can find a full list of all fields [here](https://docs.rocket.chat/api/rest-api/methods/chat/postmessage#attachments-detail).

```
$attachment = new RocketChatMessage\Attachment();
$attachment->title = 'Title';
$attachment->title_link = 'https://test.test';
$attachment->fields = [
    [
        'title' => 'Test',
        'value' => 'value'
    ]
];

$message->addAttachment($attachment);
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.6% 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 ~226 days

Total

2

Last Release

1906d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/221b91bf5509d66798324bda9836bd839e732c75ce3a3472fe7e892df7baf3d9?d=identicon)[sebastiansommer](/maintainers/sebastiansommer)

---

Top Contributors

[![sebastiansommer](https://avatars.githubusercontent.com/u/1651774?v=4)](https://github.com/sebastiansommer "sebastiansommer (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

phpphp-libraryphp7php73rocketchatwebhook

### Embed Badge

![Health badge](/badges/7sg-rocketchat-webhook/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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