PHPackages                             senthilhep/hep-laravel-mattermost-chat-log - 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. senthilhep/hep-laravel-mattermost-chat-log

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

senthilhep/hep-laravel-mattermost-chat-log
==========================================

Brings up the option for sending the logs to mattermost chat.

03.2k↓33.3%PHP

Since Feb 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/senthilhep/hep-laravel-mattermost-chat-log)[ Packagist](https://packagist.org/packages/senthilhep/hep-laravel-mattermost-chat-log)[ RSS](/packages/senthilhep-hep-laravel-mattermost-chat-log/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

`♥ Made with  And I love `

Laravel/Lumen Mattermost Chat Log
=================================

[](#laravellumen-mattermost-chat-log)

Brings up the option for sending the logs to Mattermost chat from [Laravel](https://laravel.com)/[Lumen](https://lumen.laravel.com).

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

[](#installation)

### Composer install

[](#composer-install)

```
composer require senthilhep/hep-laravel-mattermost-chat-log
```

Add the following code to the channels array in `config/logging.php` in your laravel/lumen application.

```
In Laravel, error codes are categorized by levels:
Info = 200;
Notice = 250;
Warning = 300;
Error = 400;
Critical = 500;
Alert = 550;
Emergency = 600;
Errors reported with a level greater than the configured setting will be logged accordingly.

```

```
'mattermost-chat' => [
    'driver' => 'monolog',
    'url' => env('LOG_MATTERMOST_CHAT_WEBHOOK_URL', ''),
    'error_level' => env('LOG_MATTERMOST_ERROR_LEVEL' , 400),
    'timezone' => env('LOG_MATTERMOST_CHAT_TIMEZONE' , 'Asia/Kolkata'),
    'handler' => \Enigma\MattermostChatHandler::class,
],

```

You can provide the eight logging levels defined in the [RFC 5424 specification](https://tools.ietf.org/html/rfc5424): `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info`, and `debug`

**Note\*:** Make sure to set the **LOG\_MATTERMOST\_CHAT\_WEBHOOK\_URL** env variable.

In order to notify different users for different log levels, you can set the corresponding env keys mentioned to configure in the `logging.php` file.

License
-------

[](#license)

Copyright © Senthil Prabu

Laravel Mattermost Chat Log is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/73afe8a2d8700a64cb64ee7ad7d7e2fda627e0aab4d393074121e555c9639a61?d=identicon)[senthilhep](/maintainers/senthilhep)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/senthilhep-hep-laravel-mattermost-chat-log/health.svg)

```
[![Health](https://phpackages.com/badges/senthilhep-hep-laravel-mattermost-chat-log/health.svg)](https://phpackages.com/packages/senthilhep-hep-laravel-mattermost-chat-log)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[ekino/newrelic-bundle

Integrate New Relic into Symfony2

28111.2M8](/packages/ekino-newrelic-bundle)

PHPackages © 2026

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