Registry / messaging / laravel-notification-channels-telegram

laravel-notification-channels-telegram

JSON →
library7.0.0phppackagistunverified

Telegram Notifications Channel for Laravel

composer require laravel-notification-channels/telegram
INSTALL
IMPORT
SIG · LARAVEL-NOTIFICATI
L
laravel-notification-channels-telegram
messagingphpv7.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TelegramChannel
use NotificationChannels\Telegram\TelegramChannel;

Send a Telegram notification via Laravel's notification system

use NotificationChannels\Telegram\TelegramChannel; use NotificationChannels\Telegram\TelegramMessage; use Illuminate\Notifications\Notification; class InvoicePaid extends Notification { public function via($notifiable) { return [TelegramChannel::class]; } public function toTelegram($notifiable) { return TelegramMessage::create() ->to('123456789') ->content('Your invoice has been paid!'); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
7.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
laravel-notification-channels-telegram — pip install laravel-notification-channels-telegram · libregistry