PHP code example of sympla / the-broken-tusk

1. Go to this page and download the library: Download sympla/the-broken-tusk 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/ */

    

sympla / the-broken-tusk example snippets



use Tracksale\Request\DispatchCampaign;

$sendCampaign = new DispatchCampaign('TRACKSALE_TOKEN');

$response = $sendCampaign->sendDispatchRequest($campaign_id, $user_name, $email);