PHP code example of dekalee / enom
1. Go to this page and download the library: Download dekalee/enom 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/ */
dekalee / enom example snippets
use GuzzleHttp\Client;
use Dekalee\Enom\PurchaseQuery;
$client = new Client();
$query = new PurchaseQuery('your-uid', 'your-password', $client, 'https://reseller.enom.com/interface.asp');
$facade = new PurchaseFacade();
$facade->sld = 'test';
$facade->tld = 'com';
$order = $query->execute($facade);
var_dump($order);