kejarkoding/whatsapp-gateway

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

Installs: 51

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 1

Forks: 1

Open Issues: 1

pkg:composer/kejarkoding/whatsapp-gateway

1.0.1 2024-08-06 02:24 UTC

This package is auto-updated.

Last update: 2025-10-06 05:06:42 UTC


README

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