GitHub repository
All examples live in theexamples/ folder:
github.com/VZaps/vzaps-sdk-php
Each numbered folder is a standalone project with its own composer.json, config.example.php, and run.php.
See examples/README.md in the repository for the full module list.
What’s included
| Folder | Topic |
|---|---|
01-auth-and-list-instances | Auth and instance listing |
02-create-instance | Create instance |
03-instance-subscription | Billing subscription |
04-session-and-pairing | Session status, QR, and pairing code |
05-configure-webhook | Webhook configuration |
06-realtime-subscribe | Realtime WebSocket subscription |
07-send-text-message | Send text message |
08-send-media-and-interactive | Media, buttons, and list |
09-send-poll-reaction-and-chat-actions | Poll, reaction, and chat actions |
10-queues | Message and operation queues |
11-typebot-and-chatwoot | TypeBot and Chatwoot |
quickstart | Minimal list + send text flow |
worker-realtime | Realtime worker with deduplication |
Option A — one example folder (recommended)
You do not need to clone the full SDK repository.- Download only the example folder, for example
07-send-text-message, using Download ZIP on GitHub, or run:
- Configure and run:
config.php with your clientToken, clientSecret, instanceId, and instanceToken before running.
Option B — sparse checkout
Download only part of the repository with Git:Option C — full repository clone
Use this when you want every example locally or you are contributing to the SDK:Next steps
- Follow the Starter Guide for a guided walkthrough.
- See Messages for every send method.

