承接 qortex/php-emarsys-connector 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

qortex/php-emarsys-connector

Composer 安装命令:

composer require qortex/php-emarsys-connector

包简介

Provides connection to Emarsys Omnichannel Customer Engagement Platform API v2

README 文档

README

If you are developing with Laravel, concider using laravel-emarsys-connector instead. I allows to use connector as an injected dependency.

Install

$ composer require qortex/php-emarsys-connector

Use

First, obtain credentials for Emarsys API User.

Then, pass these credentials as username and secret to EmarsysConnector constructor:

use Qortex\Emarsys\Services\Connector as EmarsysConnector;

$emarsysConnector = new EmarsysConnector($username, $secret);

Last, use any of the following EmarsysConnector methods to communicate with Emarsys Omnichannel Customer Engagement Platform:

function queryContacts(string $key, string $value)

Queries all contacts matching $key with the $value in Emarsys contacts database, regardless the contact lists.

Emarsys API List Contact Data

function createContact(string $key, array $properties)

Creates a contact in Emarsys contacts database and populates its properties with $properties . $key is used to provide uniqueness of the contact.

Emarsys API Create Contacts

function deleteContact(string $key, string $value)

Deletes a contact with $key equals $value from Emarsys contacts database.

Emarsys API Delete a Contact

function addContactToContactListById(int $listId, int $contactId)

Adds a contact defined by $contactId to a contact list defined by $listId.

Emarsys API Add Contacts to a Contact List

function removeContactFromContactListById(int $listId, int $contactId)

Removes a contact defined by $contactId from a contact list defined by $listId.

Emarsys API Remove Contacts from a Contact List

function countContactsInAContactList(int $listId)

Counts contacts in a contact list defined by $listId

Emarsys API Count Contacts in a Contact List

统计信息

  • 总下载量: 395
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2020-11-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固