PHP code example of towoju5 / gokada-php
1. Go to this page and download the library: Download towoju5/gokada-php 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/ */
towoju5 / gokada-php example snippets
$gokada = new GoKada($apiKey);
$gokada = new GoKada($apiKey, true);
$resul = $gokada->orderStatus("HSSRD-745143");
$resul = $gokada->orderCancel("HSSRD-745143");
$resul = $gokada->orderHistory("HSSRD-745143");
$resul = $gokada->createOrder($createOrder);
$resul = $gokada->estimate($createOrder);
bash
composer