Constant Contact PHP SDK for v2

Installs: 23 254

Dependents: 2

Stars: 57

Watchers: 35

Forks: 72

Open Issues: 4

Language: PHP

2.1.2 2015-09-14 15:47 UTC


Build Status Latest Stable Version Latest Unstable Version

This library utilizes GuzzlePHP

Installing via Composer

Composer is a dependency management tool for PHP that allows you to declare the dependencies your project needs and installs them into your project. In order to use the Constant Contact PHP SDK through composer, you must add "constantcontact/constantcontact" as a dependency in your project's composer.json file.

        "require": {
            "constantcontact/constantcontact": "2.1.*"

Manual Installation

Manual installation is not recommended, as this library relies on other Composer libraries to function. Getting started with composer is easy!

If you require manual installation, it is recommended that you use version 1. Composer handles all of the dependencies that this library requires in version 2.


The source documentation is hosted at

API Documentation is located at


The ConstantContact class contains the underlying services that hold the methods that use the API.

use Ctct\ConstantContact;
$cc = new ConstantContact('your api key');

$contacts = $cc->contactService->getContacts('your access token')

Many methods will take an array of parameters for use in the calls. Available params are documented in the PHPDoc of the method.

$params = array("limit" => 500);
$contacts = $cc->contactService->getContacts('your access token', $params);

Minimum Requirements

Use of this library requires PHP 5.4+, and PHP cURL extension (

If you are being required to use an older version of PHP, it is highly recommended that you update to at least 5.4 - but you can use version 1.3.* via composer, or manually.