All projects

git show pr0gramm-laravel-notification-channel 10 / 18

pr0gramm Notifications

A Laravel notification channel that sends messages to pr0gramm users.

branch
open-source
type
Open source,Laravel Notifications
stack
PHP,Laravel,Notifications
packagist
638 installs as of 29.10.2026
ci
tests.yml
license
MIT
release
v0.0.4 on 28.05.2026
README.md

Send Laravel notifications to pr0gramm

The pr0gramm Notification Channel sends Laravel notifications as messages to pr0gramm users.

It is used in pr0p0ll, among other projects, and connects to the platform through the Laravel pr0gramm API wrapper. Messages remain Laravel notifications, so the integration does not need to be rebuilt for every send.

Define the recipient and message

Install the package with Composer:

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

The notifiable model supplies the recipient's name through getPr0grammName(). The notification selects the channel in via(), and toPr0gramm() provides the message text:

php
public function toPr0gramm($notifiable): string
{
    return 'There is a new response to your poll.';
}

Configuration and message limits

Credentials are configured through the Laravel application's service configuration. The documentation recommends a bot account and explains the setup.

The platform's message limits matter when sending notifications. The package reports a reached limit through Pr0grammRateLimitReached. An application can handle this case explicitly, for example in a queue job's error handling.

The repository describes a complete notification, configuration and error handling.

Next project Shopware Servant open-source Open source,Command line