bangabudesign/rapidsender-laravel

Laravel Notification Channel for RapidSender WhatsApp API

Maintainers

Package info

github.com/bangabudesign/rapidsender-laravel

pkg:composer/bangabudesign/rapidsender-laravel

Statistics

Installs: 61

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-04-14 11:35:20 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)