nguyenanhung/omnisend
Composer 安装命令:
composer require nguyenanhung/omnisend
包简介
Omnisend: Ecommerce Email Marketing and SMS Platform
README 文档
README
Omnisend: Ecommerce Email Marketing and SMS Platform
Version
-
v1.xSupport all PHP Version>=5.6 -
v2.xSupport all PHP Version>=7.0
Installation
Simple installation with Composer
composer require nguyenanhung/omnisend
Example
<?php /** * Project omnisend * Created by PhpStorm * User: 713uk13m <dev@nguyenanhung.com> * Copyright: 713uk13m <dev@nguyenanhung.com> * Date: 09/09/2021 * Time: 10:32 */ use nguyenanhung\Omnisend\Services\Omnisend; require_once __DIR__ . 'vendor/autoload.php'; $options = [ 'debugStatus' => true, 'debugLevel' => null, 'loggerPath' => '/tmp', ]; $apiKey = 'xxx'; $omnisend = new Omnisend($options); $omnisend->setApiKey($apiKey); // Example Request Events $params = [ 'eventId' => 'xxx' ]; $body = [ 'email' => 'example@domain.com', 'fields' => 'abc' ]; $result = $omnisend->withPostRequest()->events($body); echo "<pre>"; print_r($result); echo "</pre>";
See more at: https://github.com/nguyenanhung/omnisend/tree/main/example
Contact
If any question & request, please contact following information
| Name | Skype | ||
|---|---|---|---|
| Hung Nguyen | dev@nguyenanhung.com | nguyenanhung5891 | @nguyenanhung |
From Hanoi with Love <3
统计信息
- 总下载量: 5.02k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2021-09-09