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 1mo ago

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 2% of packages

Maintenance32

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://www.gravatar.com/avatar/6d9cb2da733ab11f2fc77452a5f38bfa289fd21d75e42d9157a4c18681c27623?d=identicon)[pranasucitra](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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