PHPackages                             martinusso/monolog-rocketchat-handler - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. martinusso/monolog-rocketchat-handler

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

martinusso/monolog-rocketchat-handler
=====================================

A Monolog handler for Rocket.Chat webhooks

v1.0.1(5y ago)33771MITPHP

Since Oct 24Pushed 5y agoCompare

[ Source](https://github.com/martinusso/monolog-rocketchat-handler)[ Packagist](https://packagist.org/packages/martinusso/monolog-rocketchat-handler)[ Docs](https://github.com/martinusso/monolog-rocketchat-handler)[ RSS](/packages/martinusso-monolog-rocketchat-handler/feed)WikiDiscussions master Synced 2mo ago

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

monolog-rocketchat-handler
==========================

[](#monolog-rocketchat-handler)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/fc8556d83c9e774a9d142b3085edf80579d2bb6e48a467b54d735dfbce57aa2b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d617274696e7573736f2f6d6f6e6f6c6f672d726f636b6574636861742d68616e646c65722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/martinusso/monolog-rocketchat-handler/?branch=master)[![Code Intelligence Status](https://camo.githubusercontent.com/af5696cc2a527e3e575d68aa5927ba6fc4c8143433e7d2f406a3f7a118e76070/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d617274696e7573736f2f6d6f6e6f6c6f672d726f636b6574636861742d68616e646c65722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

[![License](https://camo.githubusercontent.com/0e4aca22ae5395434cc949ff186e490f5ae23dba0fd643d33ccd6cd86f9390e7/68747470733a2f2f706f7365722e707567782e6f72672f6d617274696e7573736f2f6d6f6e6f6c6f672d726f636b6574636861742d68616e646c65722f6c6963656e7365)](https://packagist.org/packages/martinusso/monolog-rocketchat-handler)[![Latest Stable Version](https://camo.githubusercontent.com/bde747ec85bee39330482a33f70324cda0d63f65f912789f037a096ce4c6e668/68747470733a2f2f706f7365722e707567782e6f72672f6d617274696e7573736f2f6d6f6e6f6c6f672d726f636b6574636861742d68616e646c65722f762f737461626c65)](https://packagist.org/packages/martinusso/monolog-rocketchat-handler)[![Latest Unstable Version](https://camo.githubusercontent.com/9365d317967f789f9b4f5b93319ad6c5cc465fd789fa97031aa07513289007f3/68747470733a2f2f706f7365722e707567782e6f72672f6d617274696e7573736f2f6d6f6e6f6c6f672d726f636b6574636861742d68616e646c65722f762f756e737461626c65)](https://packagist.org/packages/martinusso/monolog-rocketchat-handler)[![composer.lock](https://camo.githubusercontent.com/e479dcad3e5ba027dd8417488bc47b52bba9d7b7a827d33793aa9b3981e34da3/68747470733a2f2f706f7365722e707567782e6f72672f6d617274696e7573736f2f6d6f6e6f6c6f672d726f636b6574636861742d68616e646c65722f636f6d706f7365726c6f636b)](https://packagist.org/packages/martinusso/monolog-rocketchat-handler)[![Total Downloads](https://camo.githubusercontent.com/c245343de3b25b40c96b8fc6472d9ef1cdbaa9d603439e11771b9249b5342ad3/68747470733a2f2f706f7365722e707567782e6f72672f6d617274696e7573736f2f6d6f6e6f6c6f672d726f636b6574636861742d68616e646c65722f646f776e6c6f616473)](https://packagist.org/packages/martinusso/monolog-rocketchat-handler)

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

[](#installation)

```
composer require martinusso/monolog-rocketchat-handler

```

Usage
-----

[](#usage)

Push this handler to your Monolog instance:

```
$webhook = 'https://rocket.chat.local/hooks/bd97pizfGu3S5q5oT/SmCgGWSc4vEuRyBu5eocnBDDKvZvoqL6whRKpvsBK2TjvNk2';

$rocketChatHandler = new RocketChatHandler\RocketChatHandler([$webhook], Monolog\Logger::DEBUG);

$monolog = new Monolog\Logger('Rocket.Chat');
$monolog->pushHandler($rocketChatHandler);
```

Supports multiple webhook URLs:

```
$rocketChatHandler = new RocketChatHandler\RocketChatHandler(
    [
        'https://rocket.chat.local/hooks/bd97pizfGu3S5q5oT/SmCgGWSc4vEuRyBu5eocnBDDKvZvoqL6whRKpvsBK2TjvNk2',
        'https://rocket.chat.server/hooks/bd97pizfGu3S5q5oT/SmCgGWSc4vEuRyBu5eocnBDDKvZvoqL6whRKpvsBK2TjvNk2',
        // ...
    ],
    Monolog\Logger::DEBUG
);

// ...
```

License
-------

[](#license)

This software is open source, licensed under the The MIT License (MIT). See [LICENSE](https://github.com/martinusso/monolog-rocketchat-handler/blob/master/LICENSE) for details.

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Every ~725 days

Total

2

Last Release

2028d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/055f0fd274c2261d698750c403323e930c4406adfee9f1dce50a13ef05bf2ba0?d=identicon)[martinusso](/maintainers/martinusso)

---

Top Contributors

[![martinusso](https://avatars.githubusercontent.com/u/158559?v=4)](https://github.com/martinusso "martinusso (10 commits)")

---

Tags

monologphprocketchatwebhookphphandlermonologrocketchat

### Embed Badge

![Health badge](/badges/martinusso-monolog-rocketchat-handler/health.svg)

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

###  Alternatives

[logtail/monolog-logtail

Logtail handler for Monolog

233.2M3](/packages/logtail-monolog-logtail)

PHPackages © 2026

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