inspirum / active-campaign-php
PHP Wrapper for ActiveCampaign
Installs: 218
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 52
pkg:composer/inspirum/active-campaign-php
Requires
- guzzlehttp/guzzle: ~6.3
Requires (Dev)
- phpunit/phpunit: ^7
This package is auto-updated.
Last update: 2025-10-19 19:21:46 UTC
README
Unofficial PHP Wrapper for ActiveCampaign API v3.
Installation:
composer require inspirum/active-campaign-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