bangabudesign/rapidsender-laravel
最新稳定版本:v0.1.1
Composer 安装命令:
composer require bangabudesign/rapidsender-laravel
包简介
Laravel Notification Channel for RapidSender WhatsApp API
README 文档
README
Send WhatsApp notifications via RapidSender API using Laravel Notification system.
Installation
composer require bangabudesign/rapidsender-laravel
Configuration
php artisan vendor:publish --tag=rapidsender-config
Set env:
RAPIDSENDER_API_KEY=
RAPIDSENDER_CHANNEL_ID=
Usage
class InvoiceCreated extends Notification { public function via($notifiable) { return ['rapidsender']; } public function toRapidSender($notifiable) { return RapidSenderMessage::make() ->to($notifiable->routeNotificationFor('rapidsender')) ->content('Invoice created successfully'); } }
Routing Phone Number
public function routeNotificationForRapidSender() { return $this->phone; }
Recipient must be in international format (+628xxx)
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-14