10000 GitHub - appolous/lazada-php-sdk: Lazada PHP SDK for Laravel 12.X
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

appolous/lazada-php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Total Downloads MIT Licensed Buy Me A Coffee

Lazada PHP SDK for Laravel

This PHP SDK is available to download at https://open.lazada.com

Support Laravel 7.x / 8.x / 9.x / 10.x / 11.x / 12.x

Installation

Via Composer

composer require appolous/lazada-php-sdk

How To Use

use Lazada\LazopClient;
use Lazada\LazopRequest;


$lazadaUrl = "https://api.lazada.com.my/rest";
$apiKey = "YOURAPIKEY";
$apiSecret = "YOURAPISECRET";

$lazOp = new LazopClient($lazadaUrl, $apiKey, $apiSecret);
$lazRequest = new LazopRequest('/category/tree/get', 'GET');

// Request Params
$lazRequest->addApiParam($key, $param);

// Upload files
$lazRequest->addFileParam('image', file_get_contents($file));

// Process API 
$response = $lazOp->execute($lazRequest, $token); // JSON Response

You can find the required parameters here: https://open.lazada.com/apps/doc/api

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Lazada PHP SDK for Laravel 12.X

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

0