codebykyle/activecampaign

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

dev-master 2017-11-16 14:08 UTC

This package is not auto-updated.

Last update: 2024-04-23 22:51:11 UTC


README

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

Installation

Installation using composer:

composer require codebykyle/activecampaign

Add the service provider in config/app.php:

CodeByKyle\ActiveCampaign\ActiveCampaignServiceProvider::class,

Add the facade alias in config/app.php:

'AC' => CodeByKyle\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