Wrapper on the ActiveCampaign PHP API - with custom methods and support for Laravel 5.x
Installation using composer:
composer require gentor/activecampaign
Add the service provider in config/app.php
:
Gentor\ActiveCampaign\ActiveCampaignServiceProvider::class,
Add the facade alias in config/app.php
:
'AC' => Gentor\ActiveCampaign\Facades\ActiveCampaign::class,
Change your default settings in app/config/activecampaign.php
:
<?php
return [
'api_url' => env('ACTIVECAMPAIGN_API_URL', '****'),
'api_key' => env('ACTIVECAMPAIGN_API_KEY', '********'),
];