PHP code example of wawp / sdk-php
1. Go to this page and download the library: Download wawp/sdk-php 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/ */
wawp / sdk-php example snippets
use Wawp\SDK\WawpClient;
$client = new WawpClient('INSTANCE_ID', 'ACCESS_TOKEN');
// Send a quick text
$client->messaging->sendText('[email protected]', 'Hello from PHP!');
// Verify Webhook Signature
$isValid = $client->webhooks->verifySignature($payload, $signature, $secret);
bash
composer