PHP code example of gregorybiter / remonline-sdk

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

    

gregorybiter / remonline-sdk example snippets

 
composer install
php -S localhost:8080
 

use Gbit\Remonline\Models\Order;

$order = new Order("your api key");
echo $order->filter(['sort_dir' => 'asc'])->get();
echo $order->getCustomFields();