Download the PHP package pcabreus/whatsapp-api without Composer
On this page you can find all versions of the php package pcabreus/whatsapp-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pcabreus/whatsapp-api
More information about pcabreus/whatsapp-api
Files in pcabreus/whatsapp-api
Download pcabreus/whatsapp-api
More information about pcabreus/whatsapp-api
Files in pcabreus/whatsapp-api
Vendor pcabreus
Package whatsapp-api
Short Description A WhatsApp PHP application
License MIT
Homepage http://positibelabs.blogspot.com/libraries/whatsapp
Package whatsapp-api
Short Description A WhatsApp PHP application
License MIT
Homepage http://positibelabs.blogspot.com/libraries/whatsapp
Please rate this library. Is it a good library?
Informations about the package whatsapp-api
WhatsAppApi [Abandoned]
Caution: https://www.linkedin.com/feed/update/urn:li:activity:6359786787627417600
This library is a simple php programming object oriented of "https://github.com/mgp25/Chat-API" application.
For full documentation read the wiki
Installation
You first must add the library to your composer.json:
[json]
"require": {
"pcabreus/whatsapp-api": "~0.1"
}
Then you need to install the library with composer.
Usage
After that you can use the WhatsAppApi class like this:
[php]
//Create the service
$whatsAppApi = new WhatsAppApi();
//Configure the connexion with the user credentials
$whatsAppApi->config("1123456789", "pcabreus", "this-is-secret", false);
//Send a message to a contact
$whatsAppApi->sendMessage("1987654321", "This is a message", WhatsAppApi::MESSAGE_TYPE_TEXT);
//Or you cant send a message to a group of contact
$numbers = array("1987654321", "44123456789");
$whatsAppApi->sendMessage($numbers, "This message go to many users", WhatsAppApi::MESSAGE_TYPE_TEXT);
ToDo
More documentation...
All versions of whatsapp-api with dependencies
PHP Build Version
Package Version
Requires
whatsapp/chat-api Version
~2.5
The package pcabreus/whatsapp-api contains the following files
Loading the files please wait ...