PHPackages                             seanblommaert/activecampaign - 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. seanblommaert/activecampaign

ActivePackage[API Development](/categories/api)

seanblommaert/activecampaign
============================

ActiveCampaign API connector for APIv3

4.1.0(3mo ago)0331—0%MITPHPPHP &gt;=7.1.3

Since Mar 28Pushed 3mo agoCompare

[ Source](https://github.com/seanBlommaert/activecampaign)[ Packagist](https://packagist.org/packages/seanblommaert/activecampaign)[ RSS](/packages/seanblommaert-activecampaign/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (8)Versions (11)Used By (0)

ActiveCampaign PHP SDK
======================

[](#activecampaign-php-sdk)

[![Latest Stable Version](https://camo.githubusercontent.com/0d84503d4cb5c6a5e69833a4cc5ad0c243dd0e4f329f54dcf37e84798caf07e2/68747470733a2f2f706f7365722e707567782e6f72672f746573746d6f6e69746f722f61637469766563616d706169676e2f762f737461626c65)](https://packagist.org/packages/testmonitor/activecampaign)[![Travis Build](https://camo.githubusercontent.com/419de1b36a7cb1eb738d6ff98fc423aadf2258f080f1c0c5e96cc760e4a41cd9/68747470733a2f2f7472617669732d63692e6f72672f746573746d6f6e69746f722f61637469766563616d706169676e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/testmonitor/activecampaign)[![Code Quality](https://camo.githubusercontent.com/f668506a7309f908bec770036ceb9ef7becab0b01bd95aaa793a490fe0324a57/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746573746d6f6e69746f722f61637469766563616d706169676e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/testmonitor/activecampaign/?branch=master)[![StyleCI](https://camo.githubusercontent.com/31fa1b84e52e58bcdcceb5cf41bceb2d9d0330e729777f0eb97c99d0392ff78f/68747470733a2f2f7374796c6563692e696f2f7265706f732f3137363934353238382f736869656c64)](https://styleci.io/repos/176945288)[![License](https://camo.githubusercontent.com/368821d0ec0ca9636c6ba3364718dbcb56572865546a0a7d136d6317e8207fa9/68747470733a2f2f706f7365722e707567782e6f72672f746573746d6f6e69746f722f61637469766563616d706169676e2f6c6963656e7365)](https://packagist.org/packages/testmonitor/activecampaign)

---

This package provides a PHP SDK for the ActiveCampaign API (v3).

It is a fork of .

For more information on the ActiveCampaign API, refer to their [developer documentation](https://developers.activecampaign.com/reference).

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
- [Tests](#tests)
- [Changelog](#changelog)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

Installation
------------

[](#installation)

This package can be installed through Composer:

```
$ composer require testmonitor/activecampaign
```

Make sure to use Composer's autoload:

```
require __DIR__.'/../vendor/autoload.php';
```

Start by creating a new instance:

```
$activeCampaign = new ActiveCampaign(ACTIVE_CAMPAIGN_URL, ACTIVE_CAMPAIGN_KEY);
```

Your API key can be found in your account on the Settings page under the "Developer" tab.

Upgrading
---------

[](#upgrading)

ActiveCampaign has announced that [Organizations will be replaced by Accounts](https://help.activecampaign.com/hc/en-us/articles/360008108619-Transitioning-from-the-Organization-field-to-Accounts). As of version **4.0**, this package will contain various changes to accommodate to this transition.

For this reason, some breaking changes had to be introduced. When you upgrade from 3.0 to 4.0, make sure to check any references to organizations (for example, in the **createContact** method) and replace them.

Usage
-----

[](#usage)

Once instantiated, you can simply call one of the methods provided by the SDK:

```
$activeCampaign->contacts();
```

This will provide you with a list of available contacts.

To create a contact, you can use the `createContact` method:

```
$contact = $activeCampaign->createContact(
    'johndoe@example.com',
    'John',
    'Doe',
    '1-541-754-3010'
);
```

When the request was successful, `$contact` will contain a Contact object with the contact details.

To retrieve an existing contact or create it when it is missing:

```
$contact = $activeCampaign->findOrCreateContact(
    'johndoe@example.com',
    'John',
    'Doe'
);
```

When the request was successful, `$contact` will contain a Contact object with the contact details.

Tests
-----

[](#tests)

The package contains integration tests. You can run them using PHPUnit.

```
$ vendor/bin/phpunit

```

Changelog
---------

[](#changelog)

Refer to [CHANGELOG](CHANGELOG.md) for more information.

Contributing
------------

[](#contributing)

Refer to [CONTRIBUTING](CONTRIBUTING.md) for contributing details.

Credits
-------

[](#credits)

- [Thijs Kok](https://www.testmonitor.com/)
- [Stephan Grootveld](https://www.testmonitor.com/)
- [Frank Keulen](https://www.testmonitor.com/)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Refer to the [License](LICENSE.md) for more information.

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance80

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 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 ~489 days

Recently: every ~611 days

Total

6

Last Release

106d ago

Major Versions

1.0.1 → 2.0.02019-07-14

2.0.0 → 3.0.02019-07-14

3.0.0 → 4.0.02020-12-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/ddbff7bc0788159b1e438318475e08cd66a3379b0916579ed4db77f3d7027766?d=identicon)[SeanB](/maintainers/SeanB)

---

Top Contributors

[![thijskok](https://avatars.githubusercontent.com/u/1344550?v=4)](https://github.com/thijskok "thijskok (26 commits)")[![stefanius](https://avatars.githubusercontent.com/u/2707905?v=4)](https://github.com/stefanius "stefanius (24 commits)")[![ashtokalo](https://avatars.githubusercontent.com/u/1886284?v=4)](https://github.com/ashtokalo "ashtokalo (7 commits)")[![gabrielslau](https://avatars.githubusercontent.com/u/1078249?v=4)](https://github.com/gabrielslau "gabrielslau (7 commits)")[![seanBlommaert](https://avatars.githubusercontent.com/u/3447035?v=4)](https://github.com/seanBlommaert "seanBlommaert (5 commits)")[![Frankisgek](https://avatars.githubusercontent.com/u/487218?v=4)](https://github.com/Frankisgek "Frankisgek (2 commits)")

---

Tags

apicampaignactiveactivecampaign

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[campaignmonitor/createsend-php

A php library which implements the complete functionality of the Campaign Monitor API.

2905.7M29](/packages/campaignmonitor-createsend-php)

PHPackages © 2026

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