PHPackages                             viniciuswebdev/monolog-mattermost - 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. viniciuswebdev/monolog-mattermost

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

viniciuswebdev/monolog-mattermost
=================================

Handle logs to Mattermost

1.0.0(8y ago)983.3k↓50%1MITPHP

Since Jun 2Pushed 8y ago2 watchersCompare

[ Source](https://github.com/viniciuswebdev/monolog-mattermost)[ Packagist](https://packagist.org/packages/viniciuswebdev/monolog-mattermost)[ RSS](/packages/viniciuswebdev-monolog-mattermost/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Monolog Mattermost Handler
==========================

[](#monolog-mattermost-handler)

[![Travis](https://camo.githubusercontent.com/38ecfa100ed55aa03c6bce9fcc15898511e6cfb64856a247deadb5151d97b6d2/68747470733a2f2f7472617669732d63692e6f72672f76696e69636975737765626465762f6d6f6e6f6c6f672d6d61747465726d6f73742e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/38ecfa100ed55aa03c6bce9fcc15898511e6cfb64856a247deadb5151d97b6d2/68747470733a2f2f7472617669732d63692e6f72672f76696e69636975737765626465762f6d6f6e6f6c6f672d6d61747465726d6f73742e7376673f6272616e63683d6d6173746572)[![Scrutinizer](https://camo.githubusercontent.com/040876789fe9fc791ec860a4a18e00768eb073bba9db312f9c0ac3d5c2a16a1e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f76696e69636975737765626465762f6d6f6e6f6c6f672d6d61747465726d6f73742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://camo.githubusercontent.com/040876789fe9fc791ec860a4a18e00768eb073bba9db312f9c0ac3d5c2a16a1e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f76696e69636975737765626465762f6d6f6e6f6c6f672d6d61747465726d6f73742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)

This Handler may be useful if you need send log messages to Mattermost channels, it's very easy to setup and integrate in your application if you are using [Monolog](https://github.com/Seldaek/monolog).

Instalation
-----------

[](#instalation)

```
composer require "viniciuswebdev/monolog-mattermost:1.0.0"

```

Code example
------------

[](#code-example)

```
use Monolog\Logger;

$logger = new Logger('application');
$logger->pushHandler(new MattermostHandler('https://mattermost.my-company.net.br/hooks/xxx'));

$logger->info('Your message here!');
```

How to get my Webhook url?
--------------------------

[](#how-to-get-my-webhook-url)

Just follow these few steps:

- Go to Integrations item on main menu
- Incoming Webhook
- Add Incoming Webhook
- Chose a name, description and the desired channel to publish
- Get the URL to use in the Handler constructor

License
-------

[](#license)

The [MIT](https://opensource.org/licenses/MIT) License (MIT).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community9

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

3272d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2680075?v=4)[Vinicius Oliviera](/maintainers/viniciuswebdev)[@viniciuswebdev](https://github.com/viniciuswebdev)

---

Top Contributors

[![viniciuswebdev](https://avatars.githubusercontent.com/u/2680075?v=4)](https://github.com/viniciuswebdev "viniciuswebdev (24 commits)")

---

Tags

mattermostmattermost-apimattermost-chatmonologmonolog-handlerphpphp7

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/viniciuswebdev-monolog-mattermost/health.svg)

```
[![Health](https://phpackages.com/badges/viniciuswebdev-monolog-mattermost/health.svg)](https://phpackages.com/packages/viniciuswebdev-monolog-mattermost)
```

###  Alternatives

[honeybadger-io/honeybadger-php

Honeybadger PHP library

381.5M4](/packages/honeybadger-io-honeybadger-php)

PHPackages © 2026

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