Skip to content

KomByte/php-whatsapp-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhatsApp api

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');