PHPackages                             thiio/active-campaign-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. thiio/active-campaign-php-sdk

ActiveLibrary[API Development](/categories/api)

thiio/active-campaign-php-sdk
=============================

This is a SDK built in PHP for consuming Active Campaing's v3 API as detailed in https://www.activecampaign.com/

0.0.2(2y ago)07MITPHP

Since Nov 29Pushed 3w ago2 watchersCompare

[ Source](https://github.com/thiio-com/active-campaign-php-sdk)[ Packagist](https://packagist.org/packages/thiio/active-campaign-php-sdk)[ RSS](/packages/thiio-active-campaign-php-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

active-campaign-v3-api-php
==========================

[](#active-campaign-v3-api-php)

Implementation for consuming ActiveCampaign's v3 API

Note:
=====

[](#note)

This is a beta version for this library, the main goal is to consume the ActiveCampaign's V3 API.

Required
========

[](#required)

An ActiveCampaign's account is required. You can sign up

Installation
============

[](#installation)

```
```

Models Implemented
==================

[](#models-implemented)

- Contacts
- Tags
- Lists
- Group List
- Connections
- E-Commerce Customers
- E-Commerce Orders

Example of using this library
=============================

[](#example-of-using-this-library)

```
//YOUR ACTIVE CAMPAIGN CREDENTIALS
$url = "";
$key = "";

//Initialize a new instance of active campaign library class
$client = new ActiveCampaign();
$client->initialize($url, $key);

/*
Instanciate a contact model and add values to the attributes specified on:

https://developers.activecampaign.com/reference#contact

*/
$contact = new ActiveCampaignContact();
$contact->setEmail("jhon_doe@gmail.com");
$contact->setFirstName("Jhon");
$contact->setLastName("Doe");
$contact->setPhone("+529985656464");

//Fetch contacts class and perform the create request
$contacts = $client->contacts();

try{
    //Perform create request sending the contact model
     $response = $contacts->create($contact);

    //If response success var_dump all content
    if($response->success){

        echo "Contact successfully created \n";
        var_dump($response->body->contact);

    }else{
        //If any error or message is present print it out
        if(isset($response->body->message)){
            echo $message;
        }
        if(isset($response->body->errors)){
            foreach($response->body->errors as $error){
                echo $error->title."\n";
                echo $error->detail."\n";
                echo $error->code."\n";
            }
        }

    }
}catch(Exception $e){
    echo $e->getMessage();
}
```

For more examples go to examples folder inside the project
==========================================================

[](#for-more-examples-go-to-examples-folder-inside-the-project)

This repository was forked from
==========================================================================================

[](#this-repository-was-forked-from-httpsgithubcomdevelopferactive-campaign-v3-api-php)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance62

Regular maintenance activity

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Total

2

Last Release

947d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5478051a21d83b8cab7a5e101c9185f360c9361b6c42b2903673d5b398a203e5?d=identicon)[enriquehoy](/maintainers/enriquehoy)

---

Top Contributors

[![cenriquene](https://avatars.githubusercontent.com/u/9888385?v=4)](https://github.com/cenriquene "cenriquene (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/thiio-active-campaign-php-sdk/health.svg)

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

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

TencentCloudApi php sdk

3741.3M47](/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)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

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

PHPackages © 2026

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