PHPackages                             pushinbr/pam-whatsapp-web - 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. pushinbr/pam-whatsapp-web

ActiveLibrary

pushinbr/pam-whatsapp-web
=========================

Persistent WhatsApp Web client for PHP on PAM, without Node.js or Puppeteer.

v1.0.2(today)34↑2900%Apache-2.0PHPPHP ^8.5

Since Aug 26Pushed todayCompare

[ Source](https://github.com/push-in/pam-whatsapp-web)[ Packagist](https://packagist.org/packages/pushinbr/pam-whatsapp-web)[ Docs](https://github.com/push-in/pam-whatsapp-web)[ RSS](/packages/pushinbr-pam-whatsapp-web/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

PAM WhatsApp Web
================

[](#pam-whatsapp-web)

### The `whatsapp-web.js` experience, now in persistent, pure PHP.

[](#the-whatsapp-webjs-experience-now-in-persistent-pure-php)

[![PHP 8.5+](https://camo.githubusercontent.com/7c0d3f0931b4e620c6c642a58a60d9a346a7de7d6ac275e62a9552c41821f7b0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e352532422d3737374242343f6c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://github.com/push-in/pam)[![PAM Runtime](https://camo.githubusercontent.com/61cd5d17d5dbe46f870901949201bb9fff5d662b06145e8e7148f498135865a4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72756e74696d652d50414d2d323043393937)](https://github.com/push-in/pam)[![Packagist](https://camo.githubusercontent.com/d104d94354d0c48ffa73dc52c3a207c5a6b46ebea36d66ffadd177d49b144aa1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70757368696e62722f70616d2d77686174736170702d7765623f636f6c6f723d323563326130)](https://packagist.org/packages/pushinbr/pam-whatsapp-web)[![License](https://camo.githubusercontent.com/35b94db23d3ed026343335f74d52ce31e74b77ad7dab4e4b89f49f2026e0937f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4170616368652d2d322e302d626c7565)](LICENSE)

**Terminal QR · persistent sessions · real-time events · media · groups · channels · calls**

[Start here](#start-here) · [Features](#whats-included) · [Compatibility](#compatibility) · [Safety](#responsible-use)

A typed API for controlling WhatsApp Web directly from PHP. PAM keeps the process alive, `pam-browser` communicates with Chrome/Chromium through the Chrome DevTools Protocol, and this library provides the familiar `whatsapp-web.js` surface — without Node.js, npm, Puppeteer, or Playwright in production.

Start here
----------

[](#start-here)

### 1. Install PAM

[](#1-install-pam)

```
curl --proto '=https' --proto-redir '=https' --tlsv1.2 \
    --connect-timeout 15 --max-time 60 --max-filesize 1048576 -fsSL \
    https://github.com/push-in/pam/releases/latest/download/install.sh | sh

pam doctor
```

### 2. Create your project and install the library

[](#2-create-your-project-and-install-the-library)

```
mkdir my-whatsapp && cd my-whatsapp
pam composer init --no-interaction
pam composer require pushinbr/pam-whatsapp-web:^1.0
```

Chrome or Chromium must be installed on the host. No JavaScript runtime is required.

### 3. Create `listen.php`

[](#3-create-listenphp)

```
