PHP code example of nilsonpessim / chatmix-whatsapp
1. Go to this page and download the library: Download nilsonpessim/chatmix-whatsapp library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nilsonpessim / chatmix-whatsapp example snippets
use Source\Chatmix;
$chatmix->auth(YOUR-KEY, YOUR-TOKEN);
$chatmix->sendNumber(WHATSAPP-SEND-NUMBER);
$chatmix->textMessage("YOUR-MESSAGE");
$chatmix->sendMessage();