bangabudesign / rapidsender-laravel
Laravel Notification Channel for RapidSender WhatsApp API
Package info
github.com/bangabudesign/rapidsender-laravel
pkg:composer/bangabudesign/rapidsender-laravel
v0.1.1
2025-12-14 10:36 UTC
Requires
- php: ^8.1
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)