kombyte/meta-whatsapp-api

Access to Whatsapp cloud api (meta)

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 12

Watchers: 8

Forks: 2

Open Issues: 0

pkg:composer/kombyte/meta-whatsapp-api

v0.3.1 2024-04-06 23:20 UTC

This package is auto-updated.

Last update: 2025-10-07 02:29:35 UTC


README

Call meta api

Installation

composer require kombyte/meta-whatsapp-api
use Kombyte\Whatsapp\Api;
use Kombyte\Whatsapp\Messages;

Usage

Create new Messages instance with Api

$messages = new Messages(new Api($yourToken));

Send messages

Add destination

$messages->to('phone number')
    ->sendText('Hello');