PHPackages                             skater4/laravel-sentry-notifications - 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. skater4/laravel-sentry-notifications

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

skater4/laravel-sentry-notifications
====================================

Sends laravel sentry exceptions to messengers

1.0.9(1y ago)0834[1 issues](https://github.com/skater4/laravel-sentry-notifications/issues)MITPHPPHP &gt;=7.3

Since Apr 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/skater4/laravel-sentry-notifications)[ Packagist](https://packagist.org/packages/skater4/laravel-sentry-notifications)[ RSS](/packages/skater4-laravel-sentry-notifications/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (5)Versions (9)Used By (0)

Sentry Notifications Channels for Laravel
=========================================

[](#sentry-notifications-channels-for-laravel)

[![Chat on Telegram](https://camo.githubusercontent.com/c793b6d887d39dac6773fa734b19b63fb1b8a392156528c648c2564000509eba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4050485043686174436f2d3243413545302e7376673f7374796c653d666c61742d737175617265266c6f676f3d74656c656772616d266c6162656c3d54656c656772616d)](https://t.me/PHPChatCo)[![Latest Version on Packagist](https://camo.githubusercontent.com/6b73f885877b46e2351ead68c08c5788cb32e2c027c3a14dfffd1bbdf73d65f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736b61746572342f6c61726176656c2d73656e7472792d6e6f74696669636174696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/skater4/laravel-sentry-notifications)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Quality Score](https://camo.githubusercontent.com/df3585df136db31bbf9b25dadd5185e7915cd9c5ae4ab0b86d599b2548f48207/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f736b61746572342f6c61726176656c2d73656e7472792d6e6f74696669636174696f6e732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/skater4/laravel-sentry-notifications)[![Total Downloads](https://camo.githubusercontent.com/f08fac4f06269992aded21f916b29e6237daba7f4efefbcc2be711ff70fabaa1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736b61746572342f6c61726176656c2d73656e7472792d6e6f74696669636174696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/skater4/laravel-sentry-notifications)

This package makes it easy to send Sentry notification to different channels in Laravel.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Sentry](#setting-up-sentry)
    - [Telegram](#setting-up-telegram)
- [Usage](#usage)
- [Alternatives](#alternatives)
- [Changelog](#changelog)
- [Testing](#testing)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require skater4/laravel-sentry-notifications
```

Setting up Sentry
-----------------

[](#setting-up-sentry)

After basic Sentry set up you have to add Issues URL to .env

```
SENTRY_ISSUES_URL=https://sentry.io/organizations/sentry/issues
```

Setting up Telegram
-------------------

[](#setting-up-telegram)

To use Telegram for your notifications you need first set up your telegram bot ant obtain Chat\\Channel ID. Please, follow these [instructions](https://github.com/laravel-notification-channels/telegram?tab=readme-ov-file#setting-up-your-telegram-bot)

Then add following settings to .env

```
SENTRY_TELEGRAM_BOT_TOKEN=
SENTRY_TELEGRAM_CHAT_ID=
SENTRY_NOTIFICATION_SERVICE=telegram
```

Usage
-----

[](#usage)

Just add following code where exception is handled to be reported

```
app(SentryNotifier::class)->reportSentryNotification($exception);
```

For example report method in default exception handler

```
public function report(Throwable $exception)
{
    if (app()->bound('sentry') && $this->shouldReport($exception)) {
        app(SentryNotifier::class)->reportSentryNotification($exception);
    }

    parent::report($exception);
}
```

Alternatives
------------

[](#alternatives)

For advance usage, please consider using [laravel-notification-channels](https://github.com/laravel-notification-channels/telegram) instead.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Stan Man](https://github.com/skater4)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

Every ~25 days

Recently: every ~43 days

Total

8

Last Release

634d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a2de973f80143090bb39b849f56185c93759e4387bbeda2f016371d06b3f080?d=identicon)[skater4](/maintainers/skater4)

---

Top Contributors

[![skater4](https://avatars.githubusercontent.com/u/5853297?v=4)](https://github.com/skater4 "skater4 (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/skater4-laravel-sentry-notifications/health.svg)

```
[![Health](https://phpackages.com/badges/skater4-laravel-sentry-notifications/health.svg)](https://phpackages.com/packages/skater4-laravel-sentry-notifications)
```

###  Alternatives

[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1232.2k16](/packages/fleetbase-core-api)

PHPackages © 2026

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