1. Go to this page and download the library: Download mailmatics/php-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/ */
mailmatics / php-sdk example snippets
use Mailmatics\Client;
$client = new Client(['apiKey' => '...']);
use Mailmatics\Client;
$client = new Client(['username' => 'admin', 'password' => '12345']);
use Mailmatics\Client;
use Mailmatics\HttpClient\CurlClient;
$client = new Client($credentials, $options, new CurlClient());
use Mailmatics\HttpClient\GuzzleHttpClient;
$httpClient = new GuzzleHttpClient();
use GuzzleHttp\Client as GuzzleClient;
use Mailmatics\HttpClient\GuzzleHttpClient;
$guzzleClient = new GuzzleClient();
$httpClient = new GuzzleHttpClient($guzzleClient);