whatsapp / chat-api
The PHP WhatsApp library
Installs: 43 433
Dependents: 8
Suggesters: 0
Security: 0
Stars: 4 235
Watchers: 584
Forks: 2 162
Open Issues: 1
Requires
- php: >=5.6
- ext-curl: *
- ext-gd: *
- ext-mcrypt: *
- ext-openssl: *
- ext-pdo: *
- ext-sockets: *
- ext-sqlite3: *
README
Interface to WhatsApp Messenger
> END OF SUPPORT <
Read the wiki and previous issues before opening a new one! Maybe your issue is already answered.
For new WhatsApp updates check WhatsApp incoming updates log
Do you like this project? Support it by donating
- Paypal: Donate
- Bitcoin: 1DCEpC9wYXeUGXS58qSsqKzyy7HLTTXNYe
Installation
composer require whatsapp/chat-api
- Requires: PHP Protobuf and Curve25519 to enable end to end encryption
Special thanks
Also Ahmed Moh'd (fb.com/ahmed.mhd) and Ali Hubail (@hubail) for making this project possible.
And everyone that contributes to it.
What is WhatsApp?
According to the company:
“WhatsApp Messenger is a cross-platform mobile messenger that replaces SMS and works through the existing internet data plan of your device. WhatsApp is available for iPhone, BlackBerry, Android, Windows Phone, Nokia Symbian60 & S40 phones. Because WhatsApp Messenger uses the same internet data plan that you use for email and web browsing, there is no cost to message and stay in touch with your friends.”
Jan. 2015: 30 billion messages per day, ~700 million users.
License
As of November 1, 2015 Chat API is licensed under the GPLv3+: http://www.gnu.org/licenses/gpl-3.0.html.
Terms and conditions
- You will NOT use this API for marketing purposes (spam, massive sending...).
- We do NOT give support to anyone that wants this API to send massive messages or similar.
- We reserve the right to block any user of this repository that does not meet these conditions.
Legal
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by WhatsApp or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk.
Cryptography Notice
This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.
The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.