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)277.2k↓25%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 1mo 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 80% 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

2963d 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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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