PHPackages                             ekshop/ekshopsdk - 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. ekshop/ekshopsdk

ActiveLibrary

ekshop/ekshopsdk
================

Used for merchant product sdk

v1.0.6(5y ago)013MITPHPPHP &gt;=5.6

Since Aug 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/atik-plx/ekshop)[ Packagist](https://packagist.org/packages/ekshop/ekshopsdk)[ Docs](https://github.com/ekshop/ekshopSdk)[ RSS](/packages/ekshop-ekshopsdk/feed)WikiDiscussions master Synced 6d ago

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

ekshopSdk
=========

[](#ekshopsdk)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8790c2845ed0281cc96279185854eb8ce086bd57853c1fca767ee1cd5920d663/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656b73686f702f656b73686f7053646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ekshop/ekshopSdk)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/ac8d97c16e439493a75d3579daf2d82c877ea0720bf99aa866c3502140211808/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f656b73686f702f656b73686f7053646b2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ekshop/ekshopSdk)[![Coverage Status](https://camo.githubusercontent.com/734c5a5969ab57dee1945285636fceb9aa28053cf059d912113088c8452e7d79/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f656b73686f702f656b73686f7053646b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ekshop/ekshopSdk/code-structure)[![Quality Score](https://camo.githubusercontent.com/937716f8f92d7093b8de42ef63d6433a85c015d6dd4737623ecb0b18dff984a6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f656b73686f702f656b73686f7053646b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ekshop/ekshopSdk)[![Total Downloads](https://camo.githubusercontent.com/9e74877558d1cf8c8e5ac79ce603326e90297477455648eecccf7f9390c37421/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656b73686f702f656b73686f7053646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ekshop/ekshopSdk)

**Note:**

This is a product of ekshop. Collect account from Ekshop team and test the sdk for implementation.

Structure
---------

[](#structure)

If any of the following are applicable to your project, then the directory structure should follow industry best practices by being named the following.

```
src/
tests/

```

Install
-------

[](#install)

Via Composer

```
$ composer require ekshop/ekshopSdk --ignore-platform-reqs
```

Usage
-----

[](#usage)

```
/*New Login Credentials*/
$new_login = array();
$new_login['login_id'] = "";
$new_login['password'] = "";
$new_login['device_id'] = "";
$new_login['device_token'] = "";
$new_login['device_type'] = "";
$new_login['os'] = "";

/*Get Token and save into anywhere for future usage*/
$new_token = new \ekshop\ekshopSdk\AccessToken($new_login);
$token = $new_token->getToken();

/*Core Model*/
$skeleton = new \ekshop\ekshopSdk\CoreModule();

/*Product Add*/
$json_url = 'https://raw.githubusercontent.com/atik-plx/ekshop/master/sample-product.json';
$json_load = file_get_contents($json_url);
$json_decoded = json_decode($json_load, true);

$product_add = $skeleton->addProduct($json_decoded,$token);

echo '';
print_r($product_add);
echo '';

/*List Product*/
$filters['page'] = 1;
$filters['limit'] = 10;
$filters['search_string'] = '';
$filters['merchant_type'] = '';
$filters['store_id'] = '';
$filters['status'] = '';
$filters['publish_status'] = '';
$filters['sort_by_sell'] = '';
$filters['sort_by_price'] = '';

$product_lists = $skeleton->listProduct($filters,$token);
echo '';
print_r($product_lists);
echo '';

/*Product Add Bulk*/
$file_path = dirname(__DIR__,1).'/partner-bulk-product-sample.csv';
$product_add_bulk = $skeleton->addProductBulk($file_path,$token);

echo '';
print_r($product_add_bulk);
echo '';

/*Change Products Status*/
$product_reference_ids = ['000000'];
/*Publish A Product*/
$publish_product = $skeleton->productPublish($product_reference_ids,$token);

/*Un Publish A Product*/
$unpublish_product = $skeleton->productUnpublish($product_reference_ids,$token);

/*Draft A Product*/
$draft_product = $skeleton->productDraft($product_reference_ids,$token);

echo '';
print_r($draft_product);
echo '';

/*Production Deletetion*/
$product_reference_id = "000000";
$delete_product = $skeleton->productDelete($product_reference_id,$token);
echo '';
print_r($delete_product);
echo '';

/*Production Sku Deletetion*/
$product_reference_id = "000000";
$sku_id = "SKU-12549";  //get it from sku want to delete .
$delete_product_sku = $skeleton->productSkuDelete($product_reference_id,$sku_id,$token);
echo '';
print_r($delete_product_sku);
echo '';

/*Production Sku Deletetion*/
$payload['quantity']= 15;
$payload['price']= 555;
$payload['special_price']= 545;
$product_reference_id = "000000";
$sku_id = "SKU-12549";  //get it from sku want to delete .
$update_product_sku_inventory = $skeleton->productSkuInventoryUpdate($product_reference_id,$sku_id,$payload,$token);
echo '';
print_r($update_product_sku_inventory);
echo '';
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ php tests/ExampleTest.php
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ekshop](https://github.com/ekshop)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

8

Last Release

2084d ago

Major Versions

0.0.1 → 1.0.12020-08-30

PHP version history (2 changes)0.0.1PHP ~7.0

v1.0.5PHP &gt;=5.6

### Community

Maintainers

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

---

Top Contributors

[![atik-plx](https://avatars.githubusercontent.com/u/70206801?v=4)](https://github.com/atik-plx "atik-plx (14 commits)")

---

Tags

ekshopekshopSdk

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ekshop-ekshopsdk/health.svg)

```
[![Health](https://phpackages.com/badges/ekshop-ekshopsdk/health.svg)](https://phpackages.com/packages/ekshop-ekshopsdk)
```

PHPackages © 2026

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