PHPackages                             ondrej-bouda/nette-slack-logger - 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. ondrej-bouda/nette-slack-logger

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

ondrej-bouda/nette-slack-logger
===============================

Log your error messages directly into a Slack room

1.3.1(6y ago)0367.3k—4.9%1MITPHPPHP ^7.0

Since Feb 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ondrej-bouda/nette-slack-logger)[ Packagist](https://packagist.org/packages/ondrej-bouda/nette-slack-logger)[ RSS](/packages/ondrej-bouda-nette-slack-logger/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (8)Dependencies (1)Versions (11)Used By (0)

nette-slack-logger
==================

[](#nette-slack-logger)

Log your errors directly into a Slack room

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

[](#installation)

`composer require ondrej-bouda/nette-slack-logger`

And register extension to your config.neon:

```
extensions:
    slackLogger: OndrejBouda\NetteSlackLogger\DI\SlackLoggerExtension
```

By default the logger is just turned off, since you probably do not want to log errors from dev environment. If you want to enable it, add following lines to config.local.neon at your production server:

```
slackLogger:
    enabled: true
    slackUrl: https://hooks.slack.com/services/XXX
    logUrl: http://path/to/your/logs/directory/__FILE__
    channel: "#somechannel"
    username: "PHP Bot"
    icon: ":joystick:"
    pretext: "Error at example.com"
```

Details:

- `slackUrl` must contain your incoming webhook URL - see .
- `logUrl`, if specified, tells the URL at which the log file will be available. The substring `__FILE__` within the URL will be replaced with the actual log file basename. The resulting URL gets appended to the message posted to Slack. Note the file should not be available for public as it contains sensitive information. It is your responsibility to protect the file, e.g., by HTTP auth or restricting access by IP addresses.
- `channel`: Name or ID of channel to post to. If not specified, the message gets posted to the default channel according to the incoming webhook specification.
- `username`: Username to use for the post. Optional.
- `icon`: Icon to use besides the post instead of the default icon. Optional.
- `pretext`: Pretext for the message. Useful for distinguishing, e.g., the site.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~158 days

Recently: every ~347 days

Total

10

Last Release

2368d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1261710?v=4)[Ondřej Bouda](/maintainers/ondrej-bouda)[@ondrej-bouda](https://github.com/ondrej-bouda)

---

Top Contributors

[![greeny](https://avatars.githubusercontent.com/u/3734204?v=4)](https://github.com/greeny "greeny (5 commits)")[![vysinsky](https://avatars.githubusercontent.com/u/3693578?v=4)](https://github.com/vysinsky "vysinsky (1 commits)")

---

Tags

netteslacklogger

### Embed Badge

![Health badge](/badges/ondrej-bouda-nette-slack-logger/health.svg)

```
[![Health](https://phpackages.com/badges/ondrej-bouda-nette-slack-logger/health.svg)](https://phpackages.com/packages/ondrej-bouda-nette-slack-logger)
```

###  Alternatives

[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14845.8k1](/packages/guanguans-laravel-exception-notify)[kdyby/monolog

Integration of Monolog into Nette Framework

32701.2k10](/packages/kdyby-monolog)[contributte/newrelic

NewRelic PHP agent integration for Nette Framework

20830.8k](/packages/contributte-newrelic)[nextras/tracy-monolog-adapter

Nextras Tracy-Monolog Adapter

1129.7k](/packages/nextras-tracy-monolog-adapter)[vojtasvoboda/oc-errorlogger-plugin

Sends an error from your OctoberCMS application directly to email, HipChat, Slack, NewRelic and more.

153.3k](/packages/vojtasvoboda-oc-errorlogger-plugin)

PHPackages © 2026

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