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
Requires
- ext-curl: *
- mateodioev/request: ^2.0
Requires (Dev)
- phpunit/phpunit: ^9
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');