PHPackages                             websvc/php-rocketchat-webhooks - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. websvc/php-rocketchat-webhooks

ActiveLibrary[HTTP &amp; Networking](/categories/http)

websvc/php-rocketchat-webhooks
==============================

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

1.0.0(8y ago)378.1k↓61.3%1MITPHP

Since Apr 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/websvcPT/php-rocketchat-webhooks)[ Packagist](https://packagist.org/packages/websvc/php-rocketchat-webhooks)[ RSS](/packages/websvc-php-rocketchat-webhooks/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

php-rocketchat-webhooks
=======================

[](#php-rocketchat-webhooks)

Send requests to Rocket Chat Incoming Webhooks

Tested with Rocket Chat server v 0.63.0

Install
-------

[](#install)

```
composer require websvc/php-rocketchat-webhooks 1.0.0
```

Rocket Chat setup
-----------------

[](#rocket-chat-setup)

Create a new Incomming Hook in Administration and retrieve the URL with token.

Usage
-----

[](#usage)

Simple message:

```
$client = new \PhpRocketChatWebhooks\Client('https://rocket.chat/hooks/TOKEN', "Optional-Username");
$client->sendRequest("Hello World!");
```

Message with attachment:

```
$client = new \PhpRocketChatWebhooks\Client('https://rocket.chat/hooks/TOKEN', "Optional-Username");
$client->sendRequest("Hello World!", [
                    'title' => "Google homepage",
                    'title_link' => "https://google.com",
                    'text' => "text text text text text text text",
                    'image_url' => "https://www.google.pt/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png",
                ]);
```

Buy me a cofee
==============

[](#buy-me-a-cofee)

If You'd like to thank me you can buy me a cofee. Cofee is never too much :)

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3009d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/82408143ff5ef3329c0fff88abd46366a84c7244a43e11dffe1de80f591ba904?d=identicon)[websvc](/maintainers/websvc)

---

Top Contributors

[![websvcPT](https://avatars.githubusercontent.com/u/1758961?v=4)](https://github.com/websvcPT "websvcPT (9 commits)")

---

Tags

integrationphpphp-rocketchat-webhooksrocketchatwebhook

### Embed Badge

![Health badge](/badges/websvc-php-rocketchat-webhooks/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M92](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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