Download the PHP package metaline/activecampaign-sdk without Composer
On this page you can find all versions of the php package metaline/activecampaign-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download metaline/activecampaign-sdk
More information about metaline/activecampaign-sdk
Files in metaline/activecampaign-sdk
Package activecampaign-sdk
Short Description A simple PHP wrapper for the ActiveCampaign API v3
License MIT
Homepage https://github.com/metaline/activecampaign-sdk
Informations about the package activecampaign-sdk
ActiveCampaign API SDK
This library is a simple PHP wrapper for the ActiveCampaign API v3.
Installation
Install the latest version with Composer:
Requirements
This project works with PHP 5.6+ or 7.1+.
You also need a URL and a KEY to access the ActiveCampaign APIs. These parameters are specific to your ActiveCampaign account. You can find them under Settings / Developer section of your profile.
Documentation
First you need to create an instance of the Client:
Now you are ready to talk to the ActiveCampaign API. For example, you can retrieves all contacts:
And so on.
Check the ActiveCampaign documentation for the other APIs.
Work with the Result object
All Client methods return a Result
object, that it’s a simple value object:
Debug the result to discover how to proceed.
Coding Standard
This project follows the PSR-12 coding standard. To ensure code consistency and facilitate development, you can check the codebase against these standards by running the following command:
License
This project is licensed under the MIT License. See the LICENSE file for details.