Skip to content

juandps/whatsapp-client

 
 

Repository files navigation

WhatsApp web php client

A client for WhatsApp web in PHP

Run

Copy the file .env.example to .env and put your Telegram Bot Token and the id of chat with your bot and go up the containers:

docker-compose up

Example of use

Run this command and read the content of file example.php:

docker-compose exec php7 php example.php

Suggestions of new features

  • Tests. Sugestions:
    • PHPUnit
    • PHPCS
    • PHPStan
    • Psalm
    • Phan
  • Send qrcode to a Telegram bot
  • Hook to intercept all messages and send to Telegram Bot in conversation with predefined Telegram user
  • Respond message in Telegram bot and forward the response to WhatsApp contact
  • Define default reply message every time when receive new message in WhatsApp
  • Identify when WhatsApp is offline and notify to user in Telegram Group to open the Whatsapp Client in cellphone

About

WhatsApp web php client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 86.0%
  • Dockerfile 13.7%
  • Shell 0.3%