Download the PHP package irwan-runtuwene/driver-whatsapp without Composer
On this page you can find all versions of the php package irwan-runtuwene/driver-whatsapp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download irwan-runtuwene/driver-whatsapp
More information about irwan-runtuwene/driver-whatsapp
Files in irwan-runtuwene/driver-whatsapp
Package driver-whatsapp
Short Description WABA On-Premise driver for BotMan
License MIT
Homepage http://github.com/irwan-runtuwene/driver-whatsapp
Informations about the package driver-whatsapp
BotMan WhatsApp Business Cloud API Driver
BotMan driver to connect WhatsApp Business Cloud API with BotMan
WhatsApp Business Cloud API
This driver integrates with the WhatsApp Business Platform via the Cloud API. For API documentation, visit Meta for Developers - WhatsApp Business Platform
API Version: This driver uses v21.0 by default (latest stable as of January 2026). You can configure a different version if needed via WHATSAPP_API_VERSION environment variable.
Note: This driver also maintains backward compatibility with WhatsApp Business On-Premise API.
Installation & Setup
Install via Composer:
Configuration
BotMan Studio (Laravel)
Add the following entries to your .env file:
Standalone BotMan
Pass configuration array when creating BotMan instance:
Legacy On-Premise API Support
For backward compatibility with On-Premise API:
Breaking Changes from Previous Version
Migration from On-Premise to Cloud API
If you're upgrading from the previous On-Premise-only version, you'll need to make the following changes:
1. Environment Variables (Required)
Old Configuration:
New Configuration:
2. Webhook Payload Structure
The webhook payload structure has changed from On-Premise to Cloud API format:
Old Format (On-Premise):
New Format (Cloud API):
Note: The driver automatically handles both formats, so no code changes are needed on your end.
3. Message ID Access
Old Way:
New Way:
4. Media Handling
Media handling has significantly improved but requires different approach:
Old Way (On-Premise):
New Way (Cloud API):
5. Interactive Messages (New Feature)
The previous version had limited interactive message support. The new version includes full support:
Buttons (Now Available):
Lists (Now Available):
6. Template Messages
Template message structure has changed:
Old Way:
New Way:
7. New Features Not in Previous Version
The following features are entirely new and have no equivalent in the On-Premise version:
- Reactions - React to messages with emojis
- Reply Context - Quote/reply to specific messages
- Mark as Read - Send read receipts
- Contact Messages - Share vCard contacts
- Media Upload - Upload media to WhatsApp CDN
- Webhook Verification - Automatic webhook challenge response
8. Error Response Format
Error responses now use Cloud API format:
Old Format:
New Format:
Note: The driver's exception handling automatically adapts to both formats.
Features
✅ Fully Supported
- Text Messages - Send and receive text messages
- Media Messages - Images, videos, audio, documents, stickers
- Interactive Messages
- Buttons (up to 3 buttons)
- Lists (up to 10 items per section)
- Template Messages - Send pre-approved message templates
- Location Messages - Send and receive location data
- Contact Messages - Share contact cards
- Reactions - React to messages with emojis
- Reply Context - Reply to specific messages
- Media Management - Upload and download media files
- Message Status - Mark messages as read
- Webhook Verification - Automatic webhook verification
- WhatsApp Flows - Interactive multi-step experiences with forms and screens
Usage Examples
Text Messages
Button Messages
List Messages
Template Messages
Media Messages
Location Messages
Reactions
WhatsApp Flows
WhatsApp Flows allow you to create interactive, multi-step experiences within WhatsApp.
Reply to Messages
Media Download
Mark as Read
Security Vulnerabilities
If you discover a security vulnerability, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.
License
This driver is open-source software licensed under the MIT license.