Usage of this library is also available at Lazada Open API
Version 2.4.0
PHP SDK requires PHP 5 or newer version
Run the following command:
composer require alzen8work/lazada-php-sdk
Sample usage:
use Lazada\LazopClient;
use Lazada\LazopRequest;
...
$c = new LazopClient('https://api.lazada.com/rest', '${appKey}', '${appSecret}');
$request = new LazopRequest('/mock/api/get');
$request->addApiParam('api_id',1);
$request->addHttpHeaderParam('cx','test');
var_dump($c->execute($request));
...