PHPackages                             jeffreyvanrossum/simple-slack-error-channel - 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. jeffreyvanrossum/simple-slack-error-channel

ActiveLibrary

jeffreyvanrossum/simple-slack-error-channel
===========================================

Send errors to a Slack channel.

0.1.0(3y ago)011MITPHPPHP &gt;=8.0

Since Apr 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jeffreyvr/simple-slack-error-channel)[ Packagist](https://packagist.org/packages/jeffreyvanrossum/simple-slack-error-channel)[ RSS](/packages/jeffreyvanrossum-simple-slack-error-channel/feed)WikiDiscussions main Synced 1mo ago

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

Simple Slack Error Channel
==========================

[](#simple-slack-error-channel)

Simply forward your PHP errors to a Slack channel.

Install
-------

[](#install)

```
composer require jeffreyvanrossum/simple-slack-error-channel

```

Setup
-----

[](#setup)

```
// Make instance
$slackErrorHandler = new Handler('https://hooks.slack.com/services/your_webhook');

// Set the error handler
set_error_handler(function (...$args) use ($slackErrorHandler) {
    $slackErrorHandler->handle(...$args);
});

// For catching fatal errors
register_shutdown_function(function () use ($slackErrorHandler) {
    $err = error_get_last();

    if (is_null($err)) {
        return;
    }

    $slackErrorHandler->handle($err['type'], $err['message'], $err['file'], $err['line']);
});
```

Links
-----

[](#links)

- [Inspiration](https://medium.com/@richb_/simple-logging-with-php-and-slack-e5e997679c0e)
- [Setting up a webhook](https://api.slack.com/messaging/webhooks#getting_started)

Contributors
------------

[](#contributors)

- [Jeffrey van Rossum](https://github.com/jeffreyvr)
- [All contributors](https://github.com/jeffreyvr/tailpress/graphs/contributors)

License
-------

[](#license)

MIT. Please see the [License File](/LICENSE) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1118d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/66ca71465f93459010e10f39821b541f1c00c61233c48bcda0cea8a8d6fb6988?d=identicon)[jeffreyvr](/maintainers/jeffreyvr)

---

Top Contributors

[![jeffreyvr](https://avatars.githubusercontent.com/u/9550079?v=4)](https://github.com/jeffreyvr "jeffreyvr (5 commits)")

### Embed Badge

![Health badge](/badges/jeffreyvanrossum-simple-slack-error-channel/health.svg)

```
[![Health](https://phpackages.com/badges/jeffreyvanrossum-simple-slack-error-channel/health.svg)](https://phpackages.com/packages/jeffreyvanrossum-simple-slack-error-channel)
```

###  Alternatives

[maknz/slack-laravel

Laravel 4 and 5 integration for the maknz/slack package, including facades and service providers.

154969.3k1](/packages/maknz-slack-laravel)[anahkiasen/rocketeer-slack

Slack plugin for Rocketeer

3042.6k](/packages/anahkiasen-rocketeer-slack)

PHPackages © 2026

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