felp / active-campaign-php
dev-master
2019-05-24 19:16 UTC
Requires
- php: >=7.0.0
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- phpunit/phpunit: ~6.4
This package is auto-updated.
Last update: 2025-08-25 09:31:09 UTC
README
PHP Client for Active Campaign
Support API REST V3 and V1 (No REST)
Composer
composer require felp/active-campaign-php
Install
composer install
Usage
Add Lead
<?php
$data['contact']['email'] = 'test@test.com.br';
$data['contact']['org'] = 'test';
$data['contact']['2'] = 'test@test.com.br';
$ac = new ActiveCampaign();
$ac->setApiVersion(3);
$ac->setApiKey('*');
$ac->setApiUrl('*')
$ac->insertLead($data);