atreo/whatsapp

Implementation of whatsapp chat api to Nette Framework.

v1.0.1 2016-05-05 12:17 UTC

README

Installation

$ composer require atreo/whatsapp

Extension configuration:

whatsapp: Atreo\Whatsapp\DI\WhatsappExtension

whatsapp:
	phoneNumber: 420*********
	nickName: myNickName
	password: ******
    debug: true
    dataDir: '%tempDir%/whatsapp',
    log: true

Usage:


/**
 * @inject
 * @var \Atreo\Whatsapp\Whatsapp
 */
public $whatsapp;

// ...

$this->whatsapp->sendMessage('420111331133', 'Test message');