PHPackages                             aldok10/whatsappclientapi - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. aldok10/whatsappclientapi

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

aldok10/whatsappclientapi
=========================

Client API For Whatsapp Gateway Node.Js With JWT

v1.0.0(5y ago)191MITPHP

Since Apr 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aldok10/whatsapp-client-api)[ Packagist](https://packagist.org/packages/aldok10/whatsappclientapi)[ RSS](/packages/aldok10-whatsappclientapi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Client API Whatsapp Gateway
===========================

[](#client-api-whatsapp-gateway)

PHP package to

Source API Server Whatsapp Gateway With Node.js : [https://gitlab.com/aldo\_k/whatsapp-node-api-with-jwt](https://gitlab.com/aldo_k/whatsapp-node-api-with-jwt)

Created because i don't really wanna get my hands dirty coz of using the old php-curl :shit: example.

#### Installation 🔥

[](#installation-fire)

`composer require aldok10/whatsappclientapi`

#### Example Usage 🎊

[](#example-usage-confetti_ball)

```
require_once __DIR__.'/../vendor/autoload.php';

use AldoKarendra\WhatsappClient\Send\Chat;
use AldoKarendra\WhatsappClient\Auth\Qr;

//use your own config
$config = [
	'base_url' => 'http://127.0.0.1:3002/api/v1/whatsapp',
	'public_key' => 'aldo_k',
	'secret_key' => 'mysecretpassword',
	// 'enable_error' => true,
	'enable_error' => false,
];

// use Qr service
$qr = new Qr($config);

// get barcode if not scan barcode whatsapp
$response = $qr->getQr('html');

if ($response === '{"msg":"Sudah Login"}') {

	// use chat service
	$chat = new Chat($config);

	// Send Msg
	$response = $chat->text('6281234567890','Send Msg!');
	echo "";
	var_dump($response);
	echo "";
} else {
	// echo $response;
	if ($response=='{"status":false,"message":"Akses Terlarang!","data":null}'){
		echo "invalid access public_key / secret_key!";
	} else {
		echo "Get Access. ";
		echo $response;
	}
}
```

Make Sure Node Api Is Already Run With `node api.js`[https://gitlab.com/aldo\_k/whatsapp-node-api-with-jwt](https://gitlab.com/aldo_k/whatsapp-node-api-with-jwt)

#### Contributions 👌

[](#contributions-ok_hand)

Your contribution is always welcome!

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1863d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95d11e79e6fe548cd3158f624f5626fc55d0f7377ce84ab567283e71ad8fbac3?d=identicon)[aldo\_k](/maintainers/aldo_k)

---

Top Contributors

[![aldok10](https://avatars.githubusercontent.com/u/20703405?v=4)](https://github.com/aldok10 "aldok10 (19 commits)")

---

Tags

jwttokennodejschatintegrationwhatsappwhatsapi

### Embed Badge

![Health badge](/badges/aldok10-whatsappclientapi/health.svg)

```
[![Health](https://phpackages.com/badges/aldok10-whatsappclientapi/health.svg)](https://phpackages.com/packages/aldok10-whatsappclientapi)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[adhocore/jwt

Ultra lightweight JSON web token (JWT) library for PHP5.5+.

3031.6M15](/packages/adhocore-jwt)[psecio/jwt

A JWT (JSON Web Token) Encoding &amp; Decoding library

109352.2k2](/packages/psecio-jwt)[bizley/jwt

JWT integration for Yii 2

67425.3k2](/packages/bizley-jwt)[miladrahimi/php-jwt

A PHP implementation of JWT (JSON Web Token) generator, parser, verifier, and validator

70263.2k2](/packages/miladrahimi-php-jwt)[tuupola/branca

Authenticated and encrypted API tokens using modern crypto.

52309.2k1](/packages/tuupola-branca)

PHPackages © 2026

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