PHP code example of usgm / sdk

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

    

usgm / sdk example snippets




use Usgm\UsglobalmailClient;

$client = new UsglobalmailClient($token);

// List mail in your mailbox
$mail = $client->mails->list();