PHP code example of brandshopru / enkod
1. Go to this page and download the library: Download brandshopru/enkod library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
brandshopru / enkod example snippets
use Brandshopru\Enkod;
$apiKey = "apikey";
$url = "https://api.enkod.ru/v1";
$enkod = new Enkod\Client($apiKey, $url);
$enkod->sendOne("[email protected]", 1);
use Brandshopru\Enkod;
$apiKey = "apikey";
$url = "https://api.enkod.ru/v1";
$snippets = [
'first_name' => 'Иванов',
'last_name' => 'Иван',
];
$enkod = new Enkod\Client($apiKey, $url);
$enkod->sendOne("[email protected]", 1, $snippets);