dev-master
9999999-devLazada Seller Center PHP Library
CC-BY-SA-3.0
The Requires
by Edwin A.
dev-dev
dev-devLazada Seller Center PHP Library
CC-BY-SA-3.0
The Requires
by Edwin A.
Lazada Seller Center PHP Library
PHP library for the Lazada Seller Center API, based off the official documentation., (*1)
PHP 5.5 and later., (*2)
You can install the bindings via Composer. Run the following command:, (*3)
composer require theroyalstudent/lazada-sellercenter-php
To use the bindings, use Composer's autoload:, (*4)
require_once('vendor/autoload.php');
Simple usage (e.g: migrating an image) looks like this:, (*5)
$lazada = new Lazada\LazadaSellerCenter('https://api.sellercenter.lazada.sg', 'redacted', 'redacted'); try { $migratedImage = $lazada->Product()->MigrateImage('http://via.placeholder.com/350x150'); } catch (Exception $e) { var_dump($e->errors); } var_dump($migratedImage);
Advanced usage (e.g: retrieving orders) look like this:, (*6)
$lazada = new Lazada\LazadaSellerCenter('https://api.sellercenter.lazada.sg', 'redacted', 'redacted'); try { $orders = $lazada->Order()->GetOrders([ 'SortBy' => 'UpdatedBefore', 'SortDirection' => 'asc' ]); } catch (Exception $e) { var_dump($e->errors); } var_dump($orders)
Please see https://lazada-sellercenter.readme.io/docs for up-to-date documentation., (*7)
Copyright (C) 2017 Edwin A. edwin@theroyalstudent.com, (*8)
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0, (*9)
Unported License: http://creativecommons.org/licenses/by-sa/3.0/, (*10)
Lazada Seller Center PHP Library
CC-BY-SA-3.0
Lazada Seller Center PHP Library
CC-BY-SA-3.0