1. Go to this page and download the library: Download ephraimju/stannp-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/ */
ephraimju / stannp-php example snippets
define("STANNP_API_KEY", "API_KEY_HERE");
or
$user = new User("API_KEY_HERE");
use Stannp\API\Campaigns;
use Stannp\API\Groups;
use Stannp\API\Letters;
use Stannp\API\Postcard;
use Stannp\API\Recipients;
use Stannp\API\Reporting;
use Stannp\API\User;
use Stannp\API\Postcard;
$user = new User();
$user->getMe();