PHPackages                             webforcehq/activecampaign-v3-api-php - 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. webforcehq/activecampaign-v3-api-php

ActiveLibrary[API Development](/categories/api)

webforcehq/activecampaign-v3-api-php
====================================

PHP wrapper for ActiveCampaign API V3

v2.0.4(2y ago)121.3k↓64.1%4[4 issues](https://github.com/DevelopFer/active-campaign-v3-api-php/issues)[1 PRs](https://github.com/DevelopFer/active-campaign-v3-api-php/pulls)MITPHPCI passing

Since Mar 21Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/DevelopFer/active-campaign-v3-api-php)[ Packagist](https://packagist.org/packages/webforcehq/activecampaign-v3-api-php)[ RSS](/packages/webforcehq-activecampaign-v3-api-php/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (2)Versions (15)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)

```
composer require webforcehq/activecampaign-v3-api-php
```

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)

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 54.2% 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 ~119 days

Recently: every ~275 days

Total

12

Last Release

983d ago

Major Versions

1.5.3 → v2.0.02021-08-02

### Community

Maintainers

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

---

Top Contributors

[![hyperdarkthief](https://avatars.githubusercontent.com/u/10753778?v=4)](https://github.com/hyperdarkthief "hyperdarkthief (13 commits)")[![DevelopFer](https://avatars.githubusercontent.com/u/17594080?v=4)](https://github.com/DevelopFer "DevelopFer (10 commits)")[![kostanev](https://avatars.githubusercontent.com/u/8777255?v=4)](https://github.com/kostanev "kostanev (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webforcehq-activecampaign-v3-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/webforcehq-activecampaign-v3-api-php/health.svg)](https://phpackages.com/packages/webforcehq-activecampaign-v3-api-php)
```

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