Coding & Development
Laravel WhatsApp
1h agoLaravel WhatsApp provides a dual‑backend WhatsApp integration for Laravel applications, combining Meta Cloud API and a whatsapp‑web.js sidecar behind a single facade. It includes a polished Livewire admin UI, optional head‑less usage, and full support for rich message types, webhook handling, queuing, and health monitoring.
Meta Cloud API backendWeb sidecar backendLivewire admin UIHeadless optionProduction‑ready architectureHealth monitoringRich message supportQueue integrationEvent listeningCLI commands
Key Capabilities
01
Meta Cloud API backend
Pure‑PHP integration with Meta’s Cloud API for templates, media, business profile and phone‑number management, no extra runtime required.
02
Web sidecar backend
Bundled ~300‑line Node service using whatsapp‑web.js for personal‑number QR pairing, group chats, free‑form messages, status, and contact lookup.
03
Livewire admin UI
Drop‑in admin panel at /whatsapp with dashboards, session QR codes, composer, conversation view, groups, contacts, webhook logs and dark/light themes.
04
Headless option
All functionality exposed via the WhatsApp facade, events, queued jobs, webhook receiver and CLI commands, allowing custom UI development.
05
Production‑ready architecture
Separate database connection, table prefixing, indexed message queries, server‑side caching, SSE listener and smart auto‑scroll for scalable deployments.
06
Health monitoring
Built‑in status page (/whatsapp/status) and artisan command (whatsapp:health) with JSON output and exit codes for CI and external monitoring.
07
Rich message support
Send text, templates, images, videos, audio, documents, stickers, locations, contacts, reactions, interactive buttons/lists, plus edit and delete‑for‑everyone features.
08
Queue integration
Dispatch messages via Laravel jobs for asynchronous processing.
09
Event listening
Listen to inbound Web events (e.g., MessageReceived) through Laravel event system.
10
CLI commands
Commands for health checks and other operational tasks, usable in automated pipelines.
Use Cases
Automated transactional messagingSend order confirmations, appointment reminders, and other templated notifications using the Meta Cloud API backend.E‑commerce businesses and SaaS platforms needing reliable, compliance‑friendly communications.
Customer support via personal numbersEnable support agents to chat with customers through personal WhatsApp numbers, leveraging group chats and free‑form messages.Support teams and service‑oriented startups.
Custom front‑end integrationBuild a bespoke chat interface or dashboard in any front‑end stack by using the headless facade, events, and queued jobs.Full‑stack developers and product teams wanting tailored UI/UX.
Monitoring and CI/CD health checksIntegrate the artisan health command into CI pipelines to verify WhatsApp connectivity and avoid service downtime.DevOps engineers and platform reliability teams.
Media‑rich marketing campaignsDistribute images, videos, stickers, and interactive button lists to large audiences, taking advantage of the sidecar’s group‑chat capabilities.Marketing teams and growth hackers.
Update History
Updated 1h ago▲ 0% mentionsProduct HuntWeb