PHPackages                             johncarlson21/php-sdk - 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. [API Development](/categories/api)
4. /
5. johncarlson21/php-sdk

ActiveLibrary[API Development](/categories/api)

johncarlson21/php-sdk
=====================

Constant Contact PHP SDK for v2

2.1.8(5y ago)013MITPHPPHP &gt;=5.4.0

Since Apr 1Pushed 5y agoCompare

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

READMEChangelog (4)Dependencies (2)Versions (23)Used By (0)

Constant Contact PHP SDK forked to work with newer versions of guzzle and update to use the new CC v3 api
=========================================================================================================

[](#constant-contact-php-sdk-forked-to-work-with-newer-versions-of-guzzle-and-update-to-use-the-new-cc-v3-api)

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

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity68

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 ~151 days

Recently: every ~445 days

Total

20

Last Release

1966d 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/ef45d9099986bb8f9790638ac35baa45bd37d9f6d59ce72cb87f01d47b6960b6?d=identicon)[johncarlson21](/maintainers/johncarlson21)

---

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)")[![johncarlson21](https://avatars.githubusercontent.com/u/25893?v=4)](https://github.com/johncarlson21 "johncarlson21 (8 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)")[![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)")[![ropotam](https://avatars.githubusercontent.com/u/4192688?v=4)](https://github.com/ropotam "ropotam (2 commits)")[![jcoby](https://avatars.githubusercontent.com/u/37859?v=4)](https://github.com/jcoby "jcoby (1 commits)")[![ameagher](https://avatars.githubusercontent.com/u/4491007?v=4)](https://github.com/ameagher "ameagher (1 commits)")[![ewaltman](https://avatars.githubusercontent.com/u/2886892?v=4)](https://github.com/ewaltman "ewaltman (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/johncarlson21-php-sdk/health.svg)

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M971](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)

PHPackages © 2026

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