Skip to content

Whatsapp Free number to send message with indonesian number

Notifications You must be signed in to change notification settings

novaariyanto/waotp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whatsapp-gateway

Send whatsapp message with free number to send notifikasi

Installation

This project using composer.

$ composer require kejarkoding/whatsapp-gateway

Usage

Send Message Text .

<?php

require './vendor/autoload.php';

use Kejarkoding\WhatsappGateway\Whatsapp;

$config = [
    "client_key"=>"6dHL72Ty",
    "secret_key"=>"01rA9cifx33XnL7C"
];

$receiver = "62895361034833";
$otp_code = "123456";

$whatsapp = new Whatsapp($config);

echo $whatsapp->sendMessage($receiver,$otp_code);

Get Config

client key and secret key are required. To get it we have to register at https://kejarkoding.com