gentor / activecampaign
ActiveCampaign PHP API 的包装器 - 带自定义方法和 Laravel 5.x 支持
v1.0.0
2016-09-28 09:20 UTC
Requires
- php: >= 5.6
- activecampaign/api-php: ^1.3
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', '********'), ];