whatsva/waapi

Whatsapp API to make it easier to manage and or send a message

dev-master 2022-08-12 04:03 UTC

This package is auto-updated.

Last update: 2024-09-12 08:34:15 UTC


README

Whatsva/waapi PHP library for WhatsApp API to send the whatsappp messages in PHP provided by whatsva.id

Installation

Just download whatsva.class.php or use Composer:

composer require whatsva/waapi:dev-master

Example usage

<?php
require_once ('vendor/autoload.php'); // if you use Composer
//require_once('ultramsg.class.php'); // if you download ultramsg.class.php

$instance_key="Mqw66dHfmw2k"; // whatsva.id instance key
$jid="62895361034833"; // phone number receiver 
$message = "hello"; // message to send
$client = new Whatsva();

$api=$client->sendMessageText($instance_key,$jid,$message);
print_r($api);

Support

Use Issues to contact me