PHP code example of sdksio / whatsapp-cloud-api-sdk

1. Go to this page and download the library: Download sdksio/whatsapp-cloud-api-sdk 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/ */

    

sdksio / whatsapp-cloud-api-sdk example snippets


composer 

"    "sdksio/whatsapp-cloud-api-sdk": "1.0.0"
}

$client = WhatsAppCloudAPIClientBuilder::init()
    ->accessToken('AccessToken')
    ->environment('production')
    ->version('v13.0')
    ->build();