PHP code example of qortex / php-emarsys-connector
1. Go to this page and download the library: Download qortex/php-emarsys-connector 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/ */
qortex / php-emarsys-connector example snippets
php
use Qortex\Emarsys\Services\Connector as EmarsysConnector;
$emarsysConnector = new EmarsysConnector($username, $secret);
php
function queryContacts(string $key, string $value)
php
function createContact(string $key, array $properties)
php
function deleteContact(string $key, string $value)
php
function addContactToContactListById(int $listId, int $contactId)
php
function removeContactFromContactListById(int $listId, int $contactId)
php
function countContactsInAContactList(int $listId)
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.