itsmedudes/laravel-whatsapp

Laravel WhatsApp Business + Meta Graph client with multi-tenant token support.

Maintainers

Package info

github.com/itsmedudes/laravel-whatsapp

Type:laravel-package

pkg:composer/itsmedudes/laravel-whatsapp

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-01-17 13:21 UTC

This package is auto-updated.

Last update: 2026-03-17 15:12:05 UTC


README

Production-ready WhatsApp Business + Meta Graph client for Laravel with multi-tenant tokens, retries, logging, and webhook verification.

Install

composer require itsmedudes/laravel-whatsapp

Publish config and migrations:

php artisan vendor:publish --tag=meta-config
php artisan vendor:publish --tag=meta-migrations
php artisan migrate

Usage

use LaravelWhatsapp\WhatsAppBusinessClient;
use LaravelWhatsapp\WhatsApp\MessagePayloadBuilder;

$client = app(WhatsAppBusinessClient::class)->forUser($userId);

$payload = MessagePayloadBuilder::text($to, 'Hello!');
$client->sendMessage($phoneNumberId, $payload);

Webhook verification

use LaravelWhatsapp\WebhookVerifier;

$verifier = new WebhookVerifier();
$ok = $verifier->verifySignature($payload, $signatureHeader);

Configuration

See config/meta.php after publishing.