PHPackages                             tschucki/laravel-notification-channel-pr0gramm - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. tschucki/laravel-notification-channel-pr0gramm

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

tschucki/laravel-notification-channel-pr0gramm
==============================================

Laravel notification driver for Pr0gramm.

0.0.3(1mo ago)2470MITPHPPHP &gt;=8.1CI passing

Since Jan 13Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Tschucki/pr0gramm-notification-channel)[ Packagist](https://packagist.org/packages/tschucki/laravel-notification-channel-pr0gramm)[ RSS](/packages/tschucki-laravel-notification-channel-pr0gramm/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (12)Versions (5)Used By (0)

Pr0gramm Laravel Notifications Channel
======================================

[](#pr0gramm-laravel-notifications-channel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/73426745639b3e9ee21e82dc7a65d7941ad91f42636a710235784af69074f2dc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7473636875636b692f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d7072306772616d6d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tschucki/laravel-notification-channel-pr0gramm)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![StyleCI](https://camo.githubusercontent.com/ad5d65c84cc21d89e076cd09a08640037c6b671cf63b96eec9e772e5e78d6913/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3734323935373935352f736869656c643f6272616e63683d6d61696e)](https://styleci.io/repos/742957955)[![Total Downloads](https://camo.githubusercontent.com/b28cbf3542436af3f8f648af7e97ab31214c80657e085ca737793c8279a1dad7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7473636875636b692f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d7072306772616d6d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tschucki/laravel-notification-channel-pr0gramm)

This package makes it easy to send notifications to [Pr0gramm](https://pr0gramm.com/) users with Laravel.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Pr0gramm service](#setting-up-the-Pr0gramm-service)
- [Usage](#usage)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require tschucki/laravel-notification-channel-pr0gramm
```

Next, you must load the service provider if you don't use auto-discovery:

```
// config/app.php
'providers' => [
    // ...
    NotificationChannels\Pr0gramm\Pr0grammServiceProvider::class,
],
```

### Setting up the Pr0gramm service

[](#setting-up-the-pr0gramm-service)

It is recommended to use the credentials of a bot account, as you will not be able to solve the required captcha. You can read more about the Pr0gramm-API and how to get your credentials [here](https://github.com/pr0gramm-com/api-docs/).

Next, you must add your Pr0gramm Credentials in `config/services.php`:

```
// config/services.php
'pr0gramm' => [
	'username' => env('PR0GRAMM_USERNAME'),
	'password' => env('PR0GRAMM_PASSWORD'),
],
```

Usage
-----

[](#usage)

In every model you wish to be notifiable via Pr0gramm, you must add a `getPr0grammName` method that returns the name of the user on Pr0gramm.

```
// app/Models/User.php
public function getPr0grammName(): string
{
	return $this->pr0grammName;
}
```

You can now use the channel in your `via()` method inside the notification (You can also use `'pr0gramm'` as channel name)):

```
use NotificationChannels\Pr0gramm\Pr0grammChannel;

public function via($notifiable)
{
	return [Pr0grammChannel::class];
}
```

Next, you must add a `toPr0gramm` method to your notification containing the message you wish to send to the user:

```
public function toPr0gramm($notifiable): string
{
	return 'Message from Laravel';
}
```

> **NOTE - RATE LIMIT**: As the rate limit for sending messages is quite low, you will probably run into the `Pr0grammRateLimitReached`-Exception.
>
> You can handle this exception through your try catch block or when using the queue driver by adding a `failed`-method

That's it, you're ready to go!

Changelog
---------

[](#changelog)

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

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

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

[](#contributing)

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

Credits
-------

[](#credits)

- [Marcel Wagner](https://github.com/Tschucki)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance92

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60.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 ~404 days

Total

3

Last Release

40d ago

### Community

Maintainers

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

---

Top Contributors

[![Tschucki](https://avatars.githubusercontent.com/u/43211841?v=4)](https://github.com/Tschucki "Tschucki (14 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (5 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (2 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (1 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

laravelnotificationdriverchannelpr0gramm

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/tschucki-laravel-notification-channel-pr0gramm/health.svg)

```
[![Health](https://phpackages.com/badges/tschucki-laravel-notification-channel-pr0gramm/health.svg)](https://phpackages.com/packages/tschucki-laravel-notification-channel-pr0gramm)
```

###  Alternatives

[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[ghanem/laravel-smsmisr

Send SMS and SMS Notification via SMS Misr for Laravel

194.8k](/packages/ghanem-laravel-smsmisr)[liliom/laravel-firebase

Laravel FCM (Firebase Cloud Messaging) Notification Channel

2426.1k](/packages/liliom-laravel-firebase)[snoeren-development/laravel-discord-webhook-channel

Send notifications to a Discord webhook.

1549.8k1](/packages/snoeren-development-laravel-discord-webhook-channel)

PHPackages © 2026

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