PHPackages                             ramadhan/lazada-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ramadhan/lazada-api

ActiveLibrary[API Development](/categories/api)

ramadhan/lazada-api
===================

Interaction with the lazada api for seller

v1.0.0(8y ago)103242MITPHPPHP &gt;= 5.4

Since Jan 22Pushed 8y ago2 watchersCompare

[ Source](https://github.com/mabuak/lazada-api)[ Packagist](https://packagist.org/packages/ramadhan/lazada-api)[ RSS](/packages/ramadhan-lazada-api/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

lazada-api
==========

[](#lazada-api)

[![Latest Stable Version](https://camo.githubusercontent.com/7d2d98db992417aafb27cb6a3bd93c08c4dd103ba418dfae30c4ef52ed008369/68747470733a2f2f706f7365722e707567782e6f72672f72616d616468616e2f6c617a6164612d6170692f762f737461626c65)](https://packagist.org/packages/ramadhan/lazada-api) [![Latest Unstable Version](https://camo.githubusercontent.com/ead5d9e1c27e42b514ac52c22fe95cc27d915ecce4347a6c56b6ef5deba9fa87/68747470733a2f2f706f7365722e707567782e6f72672f72616d616468616e2f6c617a6164612d6170692f762f756e737461626c65)](https://packagist.org/packages/ramadhan/lazada-api) [![License](https://camo.githubusercontent.com/c8cef9ec31cdf749cf7cad41801c7d0d69881ea5b45bce1d849203db15808f10/68747470733a2f2f706f7365722e707567782e6f72672f72616d616468616e2f6c617a6164612d6170692f6c6963656e7365)](https://packagist.org/packages/ramadhan/lazada-api) [![Total Downloads](https://camo.githubusercontent.com/9987e803823f215a79354966c9b3b747af8dcb0408140f8053021322c9dc63ba/68747470733a2f2f706f7365722e707567782e6f72672f72616d616468616e2f6c617a6164612d6170692f646f776e6c6f616473)](https://packagist.org/packages/ramadhan/lazada-api)

Interaction with the lazada api for seller

### Installation:

[](#installation)

```
$ composer require ramadhan/lazada-api
```

### Initiate the client

[](#initiate-the-client)

```
require_once 'vendor/autoload.php';

$lazada = new ramadhan\LazadaClient( [
			'UserID'  => 'look@me.com',
			'ApiKey'  => 'b1bdb357ced10fe4e9a69840cdd4f0e9c03d77fe',
			'ApiHost' => 'https://api.sg.ali-lazada.com/',
		] );
```

### Get products

[](#get-products)

```
// Use this call to get all or a range of products.
// $parameters = array('Limit' => 20, 'Offset' => 0)
$lazada->GetProducts($parameters = []);
```

### Create product

[](#create-product)

```
// Use this call to create products.
$lazada->CreateProduct($xmlContent);
```

### Available methods

[](#available-methods)

View source for detailed argument description. All methods starting with an uppercase character are also documented in the [Lazada API documentation](https://lazada-sellercenter.readme.io/)

```
// Use this call to retrieve all product brands in the lazada system.
$lazada->GetBrands($limit = 100, $offset = 0);

// Use this call to retrieve the list of all product categories in the lazada system.
$lazada->GetCategoryTree();

// Use this call to get a list of attributes with options for a given category.
// It will also display attributes for TaxClass, with their possible values listed as options.
// primaryCategory is Identifier of the category for which the caller wants the list of attributes.
$lazada->GetCategoryAttributes($primaryCategory);

//Use this call to get the returned information from the system for the UploadImages and MigrateImages API.
$lazada->GetResponse($requestId);

//Use this call to migrate multiple images from an external site to Lazada site
$lazada->MigrateImages($imagesUrl);

//Use this call to set the images for an existing product by associating one or more image URLs with it
$lazada->SetImages($xmlContent);

//Use this call to update attributes or SKUs of an existing product.
$lazada->UpdateProduct($xmlContent);

//Use this call to remove an existing product.
$lazada->RemoveProduct($sellerSku = []);

//Use this call to get the customer details for a range of orders.
$lazada->GetOrders($parameters = []);

//Use this call to get the list of items for a single order.
$lazada->GetOrder($orderId);

//Use this call to get the item information of an order.
$lazada->GetOrderItems($orderId);

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3034d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c4645f6f1c71d1390bb8d54abef5c4fdee5618ec4fa5d0026f274a92adc88691?d=identicon)[ramadhan](/maintainers/ramadhan)

---

Top Contributors

[![mabuak](https://avatars.githubusercontent.com/u/15919105?v=4)](https://github.com/mabuak "mabuak (11 commits)")

---

Tags

Lazadasellercenter

### Embed Badge

![Health badge](/badges/ramadhan-lazada-api/health.svg)

```
[![Health](https://phpackages.com/badges/ramadhan-lazada-api/health.svg)](https://phpackages.com/packages/ramadhan-lazada-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[looxis/laravel-amazon-mws

Simple Amazon MWS API Package for Laravel

3218.7k](/packages/looxis-laravel-amazon-mws)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
