PHP Library for the Lazada Open API

Usage of this library is also available at Lazada Open API

Version

Version 2.4.0

Requirements

PHP SDK requires PHP 5 or newer version

Composer Installation

Run the following command:

composer require alzen8work/lazada-php-sdk

Usage

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));
...