Download the PHP package renzojohnson/whatsapp-cloud-api without Composer
On this page you can find all versions of the php package renzojohnson/whatsapp-cloud-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download renzojohnson/whatsapp-cloud-api
More information about renzojohnson/whatsapp-cloud-api
Files in renzojohnson/whatsapp-cloud-api
Download renzojohnson/whatsapp-cloud-api
More information about renzojohnson/whatsapp-cloud-api
Files in renzojohnson/whatsapp-cloud-api
Vendor renzojohnson
Package whatsapp-cloud-api
Short Description Lightweight PHP wrapper for Meta's WhatsApp Cloud API. Send text, template, image, document, video, audio, location, contact, and sticker messages. Receive webhooks with signature verification. Zero dependencies.
License MIT
Homepage https://renzojohnson.com
Package whatsapp-cloud-api
Short Description Lightweight PHP wrapper for Meta's WhatsApp Cloud API. Send text, template, image, document, video, audio, location, contact, and sticker messages. Receive webhooks with signature verification. Zero dependencies.
License MIT
Homepage https://renzojohnson.com
Please rate this library. Is it a good library?
Informations about the package whatsapp-cloud-api
WhatsApp Cloud API for PHP
Lightweight PHP wrapper for Meta's WhatsApp Cloud API. Zero dependencies.
Send text, template, image, document, video, audio, location, contact, and sticker messages. Receive and verify webhooks.
Author: Renzo Johnson
Requirements
- PHP 8.4+
- ext-curl
- ext-json
Installation
Quick Start
Sending Messages
Text
Template
Image
Document
Video
Audio
Location
Contact
Sticker
Media
Upload
Get Media URL
Delete
Mark as Read
Webhooks
Verification (GET request from Meta)
Receiving Messages (POST from Meta)
The listener validates the X-Hub-Signature-256 header using HMAC-SHA256 before processing. Invalid signatures return 401.
Notification Properties
| Property | Type | Description |
|---|---|---|
from |
string | Sender's phone number |
type |
string | Message type (text, image, document, etc.) |
timestamp |
string | Unix timestamp |
messageId |
?string | WhatsApp message ID |
text |
?string | Text body (when type is text) |
image |
?array | Image data (id, mime_type, sha256) |
document |
?array | Document data |
video |
?array | Video data |
audio |
?array | Audio data |
location |
?array | Location data (latitude, longitude) |
sticker |
?array | Sticker data |
contacts |
?array | Contact cards |
interactive |
?array | Interactive response data |
context |
?array | Reply context (quoted message) |
Type Checks
Error Handling
Testing
Links
License
MIT License. Copyright (c) 2026 Renzo Johnson.
All versions of whatsapp-cloud-api with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.4
ext-curl Version *
ext-json Version *
ext-curl Version *
ext-json Version *
The package renzojohnson/whatsapp-cloud-api contains the following files
Loading the files please wait ...