itsmedudes/laravel-whatsapp
Production-ready Laravel client for WhatsApp Business via Meta Graph. Send messages with a fluent payload builder, support multi-tenant access tokens, automatic retries and logging, plus webhook signature verification. Includes publishable config and migrations.
Production-ready WhatsApp Business + Meta Graph client for Laravel with multi-tenant tokens, retries, logging, and webhook verification.
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
use LaravelWhatsapp\WhatsAppBusinessClient;
use LaravelWhatsapp\WhatsApp\MessagePayloadBuilder;
$client = app(WhatsAppBusinessClient::class)->forUser($userId);
$payload = MessagePayloadBuilder::text($to, 'Hello!');
$client->sendMessage($phoneNumberId, $payload);
use LaravelWhatsapp\WebhookVerifier;
$verifier = new WebhookVerifier();
$ok = $verifier->verifySignature($payload, $signatureHeader);
See config/meta.php after publishing.
How can I help you explore Laravel packages today?