Omnisend
Omnisend: Ecommerce Email Marketing and SMS Platform
Version
-
v1.x
Support all PHP Version>=5.6
-
v2.x
Support all PHP Version>=7.0
Installation
Simple installation with Composer
composer require nguyenanhung/omnisend
Example
";
print_r($result);
echo "
"; ">
/**
* Project omnisend
* Created by PhpStorm
* User: 713uk13m
* Copyright: 713uk13m
* 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' => '[email protected]',
'fields' => 'abc'
];
$result = $omnisend->withPostRequest()->events($body);
echo "";
print_r($result);
echo "
";
See more at: https://github.com/nguyenanhung/omnisend/tree/main/example
Contact
If any question & request, please contact following information
Name | Skype | ||
---|---|---|---|
Hung Nguyen | [email protected] | nguyenanhung5891 | @nguyenanhung |
From Hanoi with Love <3