PHP code example of wickedreports / php-sdk

1. Go to this page and download the library: Download wickedreports/php-sdk 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/ */

    

wickedreports / php-sdk example snippets


$api = new \WickedReports\WickedReports($yourApiKey);
$api->addOrders($orders);

$datetime = new \DateTime('now', new \DateTimeZone('America/New_York'));

[
    'CreateDate' => '2017-08-01 00:05:01',
    'timezone'   => 'EST'
]

composer 
 json
{
    "ckedreports/php-sdk": "1.5.*"
    }
}