Download the PHP package minstersoft/activecampaign without Composer
On this page you can find all versions of the php package minstersoft/activecampaign. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download minstersoft/activecampaign
More information about minstersoft/activecampaign
Files in minstersoft/activecampaign
Package activecampaign
Short Description ActiveCampaign API connector for APIv3 For PHP 7.0
License MIT
Informations about the package activecampaign
ActiveCampaign PHP SDK
This package provides a PHP SDK for the ActiveCampaign API (v3).
Forked from testmonitor/activecampaign
For more information on the ActiveCampaign API, refer to their developer documentation.
Table of Contents
- Installation
- Usage
- Tests
- Changelog
- Contributing
- Credits
- License
Installation
This package can be installed through Composer:
To install and dev locally:
1. Add version in composer.json.
2. Replace the url with your local path and run the command.
Make sure to use Composer's autoload:
Add 'use' before class name
Start by creating a new instance:
Your API key can be found in your account on the Settings page under the "Developer" tab.
Usage
Once instantiated, you can simply call one of the methods provided by the SDK:
This will provide you with a list of available contacts.
To create a contact, you can use the createContact
method:
When the request was successful, $contact
will contain a Contact object with the contact details.
To retrieve an existing contact or create it when it is missing:
When the request was successful, $contact
will contain a Contact object with the contact details.
Tests
The package contains integration tests. You can run them using PHPUnit.
Changelog
Refer to CHANGELOG for more information.
- Thijs Kok
- Stephan Grootveld
- Frank Keulen
- Contributors from original package
- Contributors from Minstersoft
License
The MIT License (MIT). Refer to the License for more information.