be-lenka/smartemailing
最新稳定版本:1.0.2
Composer 安装命令:
composer require be-lenka/smartemailing
包简介
Easy way to interact with SmartEmailing API from PHP
README 文档
README
Easy way to interact with SmartEmailing API from Nette PHP Framework
Installation
The best way to install this component is using Composer:
composer require be-lenka/smartemailing
Then it is required to add the following lines to config.neon:
parameters: smartemailing: username: <smartemailing_username> token: <smartemailing_api_token> services: - belenka\SmartEmailing(%smartemailing.username%, %smartemailing.token%)
Usage
Insert a new contact into SmartEmailing lists:
$this->smartEmailing->importContact($email, $name, $surname, $language, $contactLists, $properties, $customFields, $purposes, $settings);
Insert a order data into SmartEmailing lists:
$this->smartEmailing->importOrders($data);
Get an exisitng contact by email:
$this->smartEmailing->getContactsByEmail($email);
Get all contacts:
$this->smartEmailing->getContacts();
Get an exisitng contact by user's ID:
$this->smartEmailing->getContact($id);
统计信息
- 总下载量: 915
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-31