PHPackages                             pyaesoneaung/snippet-error-noti - 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. pyaesoneaung/snippet-error-noti

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

pyaesoneaung/snippet-error-noti
===============================

Notify Laravel errors to Slack with a clean UI and include a code snippet.

v1.0.2(2y ago)10529[4 PRs](https://github.com/PyaeSoneAungRgn/snippet-error-noti/pulls)MITPHPPHP ^8.1CI passing

Since Dec 8Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/PyaeSoneAungRgn/snippet-error-noti)[ Packagist](https://packagist.org/packages/pyaesoneaung/snippet-error-noti)[ Docs](https://github.com/pyaesoneaung/snippet-error-noti)[ RSS](/packages/pyaesoneaung-snippet-error-noti/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (14)Versions (8)Used By (0)

[![Snippet Error Noti](https://repository-images.githubusercontent.com/729276965/f357d0c9-69ee-4632-88ae-e77cac7fbd79)](https://repository-images.githubusercontent.com/729276965/f357d0c9-69ee-4632-88ae-e77cac7fbd79)

[![GitHub Workflow Status](https://camo.githubusercontent.com/9ad2fa647cd534d0c26d8827debdf27b18277ef65d21dee763ebff7cb55edab0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f50796165536f6e6541756e6752676e2f736e69707065742d6572726f722d6e6f74692f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d74657374)](https://github.com/PyaeSoneAungRgn/snippet-error-noti/actions/workflows/run-tests.yml)[![Packagist Version](https://camo.githubusercontent.com/4c0958f1f08f74c080072addcc104c298e8fcf0572bde8230fb778e94d6d3de1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70796165736f6e6561756e672f736e69707065742d6572726f722d6e6f7469)](https://packagist.org/packages/pyaesoneaung/snippet-error-noti)

Snippet Error Noti
==================

[](#snippet-error-noti)

Notify Laravel errors to Slack with a clean UI and include a code snippet.

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

[](#installation)

```
composer require pyaesoneaung/snippet-error-noti
```

.env

```
SNIPPET_ERROR_NOTI_ENABLE=true
SNIPPET_ERROR_NOTI_WEBHOOK=slack-webhook-url

```

You can learn how to obtain a webhook URL in the [Slack API documentation](https://api.slack.com/messaging/webhooks). Under the hood, [spatie/laravel-slack-alerts](https://github.com/spatie/laravel-slack-alerts) is utilized to communicate with Slack.

Usage
-----

[](#usage)

Enable the capture of exceptions for reporting to Slack by implementing the following change in your `app/Exceptions/Handler.php` file.

```
use SnippetErrorNoti;
use Throwable;

public function register(): void
{
    $this->reportable(function (Throwable $e) {
        SnippetErrorNoti::captureException($e);
    });
}
```

Testing
-------

[](#testing)

```
composer test
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance58

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.9% 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 ~2 days

Total

3

Last Release

887d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b4a938e91069afb632288ccdb87813e19c0d0fc86189f73daa33464e0d2a0367?d=identicon)[pyaesoneaung](/maintainers/pyaesoneaung)

---

Top Contributors

[![PyaeSoneAungRgn](https://avatars.githubusercontent.com/u/44226349?v=4)](https://github.com/PyaeSoneAungRgn "PyaeSoneAungRgn (37 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (9 commits)")

---

Tags

laravelslacksnippetsnippet-error-notilaravelslacksnippetPyae Sone Aungsnippet-error-noti

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/pyaesoneaung-snippet-error-noti/health.svg)

```
[![Health](https://phpackages.com/badges/pyaesoneaung-snippet-error-noti/health.svg)](https://phpackages.com/packages/pyaesoneaung-snippet-error-noti)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

86910.0M83](/packages/spatie-laravel-health)[spatie/laravel-slack-alerts

Send a message to Slack

3212.6M4](/packages/spatie-laravel-slack-alerts)[spatie/laravel-sql-commenter

Add comments to SQL queries made by Laravel

1931.4M1](/packages/spatie-laravel-sql-commenter)[keepsuit/laravel-opentelemetry

OpenTelemetry integration for laravel

142347.8k](/packages/keepsuit-laravel-opentelemetry)[spatie/laravel-error-share

Share your Laravel errors to Flare

43965.6k3](/packages/spatie-laravel-error-share)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)

PHPackages © 2026

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