appolous/lazada-php-sdk

A Lazada PHP SDK for Laravel
106,473 9
Install
composer require appolous/lazada-php-sdk
Latest Version:1.7
PHP:^7.3|^8.0
Laravel:7 – 12
License:MIT
Last Updated:May 25, 2026
Links: GitHub  ·  Packagist
Maintainer: appolous

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 / 13.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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

641,106,524 9,700
laravel/framework

The Laravel Framework.

593,882,149 34,959
laravel/tinker

Powerful REPL for the Laravel framework.

502,645,077 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

418,291,778 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

394,964,158 4,660

Version History

Version Released PHP Laravel License
1.7 ^7.3|^8.0 ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0 MIT
1.6 ^7.3|^8.0 ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0 MIT
1.5 ^7.3|^8.0 ^7.0|^8.0|^9.0|^10.0|^11.0 MIT
1.4 ^7.3|^8.0 ^7.0|^8.0|^9.0|^10.0 MIT
1.3 ^7.3|^8.0 ^7.0|^8.0|^9.0 MIT