PHPackages                             pranasucitra/whatsapp-gateway-services - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. pranasucitra/whatsapp-gateway-services

ActiveLibrary[API Development](/categories/api)

pranasucitra/whatsapp-gateway-services
======================================

02PHP

Since Jan 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/pranasucitra/WhatsappGatewayServices)[ Packagist](https://packagist.org/packages/pranasucitra/whatsapp-gateway-services)[ RSS](/packages/pranasucitra-whatsapp-gateway-services/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (1)Used By (0)

WhatsappGatewayServices
=======================

[](#whatsappgatewayservices)

Module for sending WhatsApp notifications using a WhatsApp gateway service with HTTP. This module is created for the CodeIgniter framework or OOP PHP to send notifications via the WhatsApp service using POST data.”

Requirment
==========

[](#requirment)

1. composer
2. nodeJs
3. php-7.4 keatas
4. Whatsapp that has been installed on your cellphone for the scanning process

How to Install
==============

[](#how-to-install)

You need the composer package to install this program, if you don't have composer please download and install it at

```
composer require pranasucitra/whatsapp-gateway-services:dev-main

```

Usage Examples
==============

[](#usage-examples)

The following is an example of use in PHP

```
/* ------------------------ First Example ----------------------- */

use pranasucitra\WhatsappGatewayServices\WhatsAppSG;

$wa     = new WhatsAppSG();
$wa->setPort('6789')
    ->setSenderPhone('081395250814')
    ->setRecepient('085xxxxxxxxx')
    ->setMessage('test send wa?');

var_dump($wa->SendText());

/**
* if you use a number outside Indonesia
* You can set the locale in the following way
*
* Note:
* see alpha-2-code country codes in the following link
* https://www.iban.com/country-codes
*/
$wa     = new WhatsAppSG();
$wa->setPort('6789')
	->setLocale('US')
	->setSenderPhone('081395250814')
	->setRecepient('085xxxxxxxxx')
	->setMessage('test send wa?');

var_dump($wa->SendText());

/* ------------------------- Second Example ------------------------ */

$wa     = new WhatsAppSG('085xxxxxxxxx', 'Hello, try sending this on whatsapp');
$wa->setBaseUrl('http://127.0.0.1')
    ->setPort('6789')
    ->setSenderPhone('081395250814');
    $result     = $wa->SendText();

```

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13024780?v=4)[Pranasucitra](/maintainers/pranasucitra)[@pranasucitra](https://github.com/pranasucitra)

---

Top Contributors

[![pranasucitra](https://avatars.githubusercontent.com/u/13024780?v=4)](https://github.com/pranasucitra "pranasucitra (6 commits)")

### Embed Badge

![Health badge](/badges/pranasucitra-whatsapp-gateway-services/health.svg)

```
[![Health](https://phpackages.com/badges/pranasucitra-whatsapp-gateway-services/health.svg)](https://phpackages.com/packages/pranasucitra-whatsapp-gateway-services)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
