alzen8work / lazada-php-sdk
A Lazada PHP SDK for Laravel
24.2.22
2024-02-22 03:36 UTC
This package is not auto-updated.
Last update: 2024-11-14 13:45:40 UTC
README
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)); ...