Skip to content

Releases: nguyenanhung/omnisend

Release version 2.0.1

21 Sep 18:58
82a86df
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.0.1

Release version 2.0.0

26 Sep 01:31
Compare
Choose a tag to compare
  • v2.x Support all PHP Version >=7.0

Release version 1.0.3

26 Sep 01:23
Compare
Choose a tag to compare
  • v1.x Support all PHP Version >=5.6

Release version 1.0.2

20 Sep 02:19
Compare
Choose a tag to compare
  • Add GitHub Action Workflows
  • Hiện tại, thư viện hỗ trợ các phiên bản PHP: ^PHP 7.1 || ^PHP 8.0.
  • Optimize code để tối ưu khả năng tương thích và tốc độ với PHP 7 trở lên

Release version 1.0.1

15 Sep 18:38
Compare
Choose a tag to compare
  • Update LICENSE

Release version 1.0.0

09 Sep 03:48
Compare
Choose a tag to compare

Omnisend

Omnisend: Ecommerce Email Marketing and SMS Platform

Installation

Simple installation with Composer

composer require nguyenanhung/omnisend

Example

<?php
/**
 * Project omnisend
 * Created by PhpStorm
 * User: 713uk13m <[email protected]>
 * Copyright: 713uk13m <[email protected]>
 * 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 "<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 Email Skype Facebook
Hung Nguyen [email protected] nguyenanhung5891 @nguyenanhung

From Hanoi with Love <3