ghattrell/activecampaign

Wrapper on the ActiveCampaign PHP API - with custom methods and support for Laravel 5.x. Continuing on the work from Gentor.

1.1.2 2016-11-22 16:05 UTC

This package is not auto-updated.

Last update: 2024-04-13 23:36:07 UTC


README

Wrapper on the ActiveCampaign PHP API - with custom methods and support for Laravel 5.x, and extension of Gentor's good work.

Installation

Installation using composer:

composer require ghattrell/activecampaign

Add the service provider in config/app.php:

Ghattrell\ActiveCampaign\ActiveCampaignServiceProvider::class,

Add the facade alias in config/app.php:

'AC' => Ghattrell\ActiveCampaign\Facades\ActiveCampaign::class,

Configuration

Change your default settings in app/config/activecampaign.php:

<?php
return [
    'api_url' => env('ACTIVECAMPAIGN_API_URL', '****'),
    'api_key' => env('ACTIVECAMPAIGN_API_KEY', '********'),
];

Documentation

ActiveCampaign PHP API

API Methods Overview