gentor/activecampaign

ActiveCampaign PHP API 的包装器 - 带自定义方法和 Laravel 5.x 支持

v1.0.0 2016-09-28 09:20 UTC

This package is auto-updated.

Last update: 2024-09-09 02:39:15 UTC


README

ActiveCampaign PHP API 的包装器 - 带自定义方法和 Laravel 5.x 支持

安装

使用 composer 安装

composer require gentor/activecampaign

config/app.php 中添加服务提供者

Gentor\ActiveCampaign\ActiveCampaignServiceProvider::class,

config/app.php 中添加外观别名

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

配置

app/config/activecampaign.php 中更改默认设置

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

文档

ActiveCampaign PHP API

API 方法概述