2017 © Pedro PelĂĄez
 

library whatsapp-api

A WhatsApp PHP application

image

pcabreus/whatsapp-api

A WhatsApp PHP application

  • Wednesday, October 28, 2015
  • by pcabreus
  • Repository
  • 5 Watchers
  • 20 Stars
  • 144 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 13 Forks
  • 0 Open issues
  • 5 Versions
  • 4 % Grown

The README.md

WhatsAppApi [Abandoned]

Caution: https://www.linkedin.com/feed/update/urn:li:activity:6359786787627417600, (*1)

This library is a simple php programming object oriented of "https://github.com/mgp25/Chat-API" application., (*2)

For full documentation read the wiki, (*3)

Installation

You first must add the library to your composer.json:, (*4)

[json]
"require": {

    "pcabreus/whatsapp-api": "~0.1"
}

Then you need to install the library with composer., (*5)

Usage

After that you can use the WhatsAppApi class like this:, (*6)

[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, (*7)

More documentation..., (*8)

The Versions

28/10 2015

dev-master

9999999-dev http://positibelabs.blogspot.com/libraries/whatsapp

A WhatsApp PHP application

  Sources   Download

MIT

The Requires

 

whatsapp positibelabs pcabreus

07/08 2015

v0.2.1

0.2.1.0 http://positibelabs.blogspot.com/libraries/whatsapp

A WhatsApp PHP application

  Sources   Download

MIT

The Requires

 

whatsapp positibelabs pcabreus

31/07 2015

v0.2

0.2.0.0 http://positibelabs.blogspot.com/libraries/whatsapp

A WhatsApp PHP application

  Sources   Download

MIT

The Requires

 

whatsapp positibelabs pcabreus

29/07 2015

dev-dmaster

dev-dmaster http://positibelabs.blogspot.com/libraries/whatsapp

A WhatsApp PHP application

  Sources   Download

MIT

The Requires

 

whatsapp positibelabs pcabreus

28/07 2015

v0.1

0.1.0.0 http://positibelabs.blogspot.com/libraries/whatsapp

A WhatsApp PHP application

  Sources   Download

MIT

The Requires

 

whatsapp positibelabs pcabreus