warchiefs / activecampaign-v3-php
PHP Wrapper for ActiveCampaign
v1.1
2019-05-24 09:04 UTC
Requires
- guzzlehttp/guzzle: ~6.3
Requires (Dev)
- phpunit/phpunit: ^7
This package is not auto-updated.
Last update: 2025-07-19 05:39:35 UTC
README
It was created to allows to use with guzzle version 7+.
"warchiefs/activecampaign-v3-php": "dev-master",
(Original readme) Active Campaign v3 PHP Wrapper
Unofficial PHP Wrapper for ActiveCampaign API v3.
Installation:
composer require mediatoolkit/activecampaign-v3-php
Basic usage:
Create a client:
$client = new Client(
$api_url,
$api_token,
$event_tracking_actid,
$event_tracking_key
);
Select Contacts endpoint:
$contacts = new Contacts($client);
Create new contact:
$contact = $contacts->create([
'email' => 'CONTACT_EMAIL',
'firstName' => 'CONTACT_FIRST_NAME',
'lastName' => 'CONTACT_LAST_NAME'
]);
Available endpoints:
- Contacts
- Deals
- Lists
- Organizations
- EventTracking
- SiteTracking
ActiveCampaign Developer Documentation
Official API docs: https://developers.activecampaign.com/reference