A client for WhatsApp web in PHP
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
Run this command and read the content of file example.php:
docker-compose exec php7 php example.php
- 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