PHPackages                             constantcontact/constantcontact - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. constantcontact/constantcontact

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

constantcontact/constantcontact
===============================

Constant Contact PHP SDK for v2

2.1.4(10y ago)105609.4k↓14.6%124[20 issues](https://github.com/constantcontact/php-sdk/issues)[9 PRs](https://github.com/constantcontact/php-sdk/pulls)7MITPHPPHP &gt;=5.4.0

Since Apr 1Pushed 3y ago38 watchersCompare

[ Source](https://github.com/constantcontact/php-sdk)[ Packagist](https://packagist.org/packages/constantcontact/constantcontact)[ Docs](http://developer.constantcontact.com)[ RSS](/packages/constantcontact-constantcontact/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (19)Used By (7)

Constant Contact PHP SDK
========================

[](#constant-contact-php-sdk)

[![Build Status](https://camo.githubusercontent.com/33d7f72290b2cfbe35f8bf13d8362e1d8fdc2114b4e090d5a368ba4d9bcd5539/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f636f6e7374616e74636f6e746163742f7068702d73646b2e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/constantcontact/php-sdk) [![Latest Stable Version](https://camo.githubusercontent.com/0ce56442e80d55398f01090d997924d9df817d1a8769eb336d8d09931a27f9a7/68747470733a2f2f706f7365722e707567782e6f72672f636f6e7374616e74636f6e746163742f636f6e7374616e74636f6e746163742f762f737461626c652e737667)](https://packagist.org/packages/constantcontact/constantcontact) [![Latest Unstable Version](https://camo.githubusercontent.com/5cf9d0ea704a9727ee023ec174e823875826d1dc1432acab462fcfe01c5dac81/68747470733a2f2f706f7365722e707567782e6f72672f636f6e7374616e74636f6e746163742f636f6e7374616e74636f6e746163742f762f756e737461626c652e737667)](https://packagist.org/packages/constantcontact/constantcontact)

### This library utilizes [GuzzlePHP](http://guzzle.readthedocs.org/)

[](#this-library-utilizes-guzzlephp)

Installing via Composer (recommended)
-------------------------------------

[](#installing-via-composer-recommended)

[Composer](https://getcomposer.org/) 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)

If you are unable to install using composer, we have provided a zip file that includes a version of the dependencies at the time of our release, as well as our library. Unzip the vendor file in the standalone directory, and require the autoload.php file to use our methods.

Documentation
-------------

[](#documentation)

The source documentation is hosted at

API Documentation is located at

Usage
-----

[](#usage)

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
--------------------

[](#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](https://github.com/constantcontact/php-sdk/tree/v1-master).

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity54

Moderate usage in the ecosystem

Community38

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~72 days

Recently: every ~58 days

Total

16

Last Release

3702d ago

Major Versions

1.3.2 → 2.0.02015-06-30

2.1.4 → 3.0.0-alpha2016-03-29

PHP version history (3 changes)1.0.0PHP &gt;=5.3.0

2.0.0PHP &gt;=5.4.0

3.0.0-alphaPHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/50afc410ea352ca51adf2a20397bb1f8edc6ab3357b98c038c3e4b7c8ac917c3?d=identicon)[constantcontact](/maintainers/constantcontact)

---

Top Contributors

[![dsjellz](https://avatars.githubusercontent.com/u/687458?v=4)](https://github.com/dsjellz "dsjellz (27 commits)")[![huebs](https://avatars.githubusercontent.com/u/1166532?v=4)](https://github.com/huebs "huebs (23 commits)")[![WoogieNoogie](https://avatars.githubusercontent.com/u/1584643?v=4)](https://github.com/WoogieNoogie "WoogieNoogie (18 commits)")[![narkiss333](https://avatars.githubusercontent.com/u/9132726?v=4)](https://github.com/narkiss333 "narkiss333 (11 commits)")[![csciuto](https://avatars.githubusercontent.com/u/1928023?v=4)](https://github.com/csciuto "csciuto (10 commits)")[![zackkatz](https://avatars.githubusercontent.com/u/870979?v=4)](https://github.com/zackkatz "zackkatz (4 commits)")[![egaiter](https://avatars.githubusercontent.com/u/2632487?v=4)](https://github.com/egaiter "egaiter (3 commits)")[![ropotam](https://avatars.githubusercontent.com/u/4192688?v=4)](https://github.com/ropotam "ropotam (2 commits)")[![daveberard](https://avatars.githubusercontent.com/u/1894315?v=4)](https://github.com/daveberard "daveberard (2 commits)")[![xpavp03](https://avatars.githubusercontent.com/u/853656?v=4)](https://github.com/xpavp03 "xpavp03 (2 commits)")[![jcoby](https://avatars.githubusercontent.com/u/37859?v=4)](https://github.com/jcoby "jcoby (1 commits)")[![ewaltman](https://avatars.githubusercontent.com/u/2886892?v=4)](https://github.com/ewaltman "ewaltman (1 commits)")[![ameagher](https://avatars.githubusercontent.com/u/4491007?v=4)](https://github.com/ameagher "ameagher (1 commits)")[![nganivet](https://avatars.githubusercontent.com/u/3435067?v=4)](https://github.com/nganivet "nganivet (1 commits)")[![shannon7wallace](https://avatars.githubusercontent.com/u/2089207?v=4)](https://github.com/shannon7wallace "shannon7wallace (1 commits)")

---

Tags

email marketingconstantcontactctctconstant contact

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/constantcontact-constantcontact/health.svg)

```
[![Health](https://phpackages.com/badges/constantcontact-constantcontact/health.svg)](https://phpackages.com/packages/constantcontact-constantcontact)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
