bangabudesign/rapidsender-laravel

Laravel Notification Channel for RapidSender WhatsApp API

Installs: 37

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/bangabudesign/rapidsender-laravel

v0.1.1 2025-12-14 10:36 UTC

This package is auto-updated.

Last update: 2026-01-14 11:03:48 UTC


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)