mralston/cxm
最新稳定版本:v1.0.17
Composer 安装命令:
composer require mralston/cxm
包简介
Library for working with Connex CXM dialler.
关键字:
README 文档
README
Introduction
Library for working with Connex CXM dialler.
Config
You may publish the config file as follows:
php artisan vendor:publish --tag=cxm-config
Add the following items to your .env file:
CXM_CLIENT_ID= CXM_SECRET= CXM_TOKEN= CXM_ENDPOINT=https://apigateway-your-company-name-cxm.cnx1.cloud
The CXM_CLIENT_ID and CXM_SECRET are set up on the dialler web interface at:
Admin > API > API Credentials > Create API Credentials
The CXM_TOKEN is set up on the dialler web interface at:
Admin > API > API Clients > Create API Clients
The CXM_ENDPOINT value is the URL of the API endpoint, supplied by Connex. It will be similar in format to the example above.
Usage
Here are how the basic functions of the library work:
// Create a Contact DTO $contact = Contact::make([ // ...attributes ]); // Create a DataList DTO $dataList = DataList::make([ 'id' => '...' ]); // Load the contact into the dialler. // $result reflects the Contact record created on the dialler and contains its ID $result = Cxm::customerLoadSingle($contact, $dataList);
Security Vulnerabilities
Please e-mail security vulnerabilities directly to me.
Licence
PDF is open-sourced software licenced under the MIT license.
统计信息
- 总下载量: 45
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-24