PHPackages                             zuragan/lazada-api-php - 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. zuragan/lazada-api-php

ActiveLibrary[API Development](/categories/api)

zuragan/lazada-api-php
======================

Lazada Seller API wrapper

v0.1.3(8y ago)34792MITPHPPHP &gt;=5.6.4

Since Oct 23Pushed 8y ago2 watchersCompare

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

READMEChangelogDependencies (2)Versions (5)Used By (0)

PHP Lazada API Wrapper
======================

[](#php-lazada-api-wrapper)

Unofficial PHP Wrapper for Lazada API

Overview
========

[](#overview)

- Wraps Lazada API in PHP according to example shown [here](https://lazada-sellercenter.readme.io/docs/signing-requests)
- For complete API reference, including how to obtain API key, please go to [the official documentation](https://lazada-sellercenter.readme.io)

Installation
============

[](#installation)

```
~$ composer require zuragan/lazada-api-php

```

Example Usage
=============

[](#example-usage)

- GET

```
//Create API instance
$api = new LazadaAPI($baseUrl);

//Create action using factory, get or post action is supported
$factory = new ActionFactory($userEmail, $userAPIKey);
$action = $factory->getAction('ActionName', [ 'Parameter' => 'ParamValue' ]);

//Execute API Command
$response = $api->get($action);

//debug: dump response
var_dump($response);
```

- POST

```
//Create API instance
$api = new LazadaAPI($baseUrl);

//Create action using factory, get or post action is supported
$factory = new ActionFactory($userEmail, $userAPIKey);
$payload = [
    "Attributes" => [
        "name" => "Example",
        "description" => "Short description",
    ],
];
$action = $factory->postAction('ActionName', [ 'Parameter' => 'ParamValue' ], $payload);

//Execute API Command
$response = $api->post($action);

//debug: dump response
var_dump($response);
```

Known Limitation(s)
===================

[](#known-limitations)

- Due to PHP array limitation used in post payload when converting to XML format, multiple child element with same name cannot be generated (because PHP array keys must be unique)

Disclaimer
==========

[](#disclaimer)

- This is not an official SDK from Lazada
- This library may be changed without notice to keep it updated with Lazada's API
- This library is provided as is, without any warranty and can be broken anytime Lazada create breaking changes in their API.

Contributing
============

[](#contributing)

- Error reporting/issues
    - Use Github's issue tracker
- Code contribution
    - Fork this repository
    - Create pull request

License
=======

[](#license)

- MIT

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

Every ~0 days

Total

4

Last Release

3124d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f1c1cc8329eb53ceee1ff1665a1020b45d06e0927adcc80af898dda0eaeffb8?d=identicon)[arseto](/maintainers/arseto)

---

Top Contributors

[![arseto](https://avatars.githubusercontent.com/u/14993730?v=4)](https://github.com/arseto "arseto (8 commits)")

---

Tags

apiwrapperLazada

### Embed Badge

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

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

###  Alternatives

[gabrielbull/ups-api

PHP UPS API

4642.4M10](/packages/gabrielbull-ups-api)[wtfzdotnet/php-tmdb-api

PHP wrapper for TMDB (TheMovieDatabase) API v3. Supports two types of approaches, one modelled with repositories, models and factories. And the other by simple array access to RAW data from The Movie Database.

4282.9k](/packages/wtfzdotnet-php-tmdb-api)[walle89/swedbank-json

Unofficial API client for the Swedbank's and Sparbanken's mobile apps in Sweden.

752.5k](/packages/walle89-swedbank-json)

PHPackages © 2026

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