PHPackages                             netoholic/store-integrator - 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. netoholic/store-integrator

ActiveLibrary

netoholic/store-integrator
==========================

Can be used to publish products and retrieve and handle orders from different shopping platforms.

0.7.0(10y ago)11.5kMITPHP

Since Oct 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/boyanyordanov/store-integrator)[ Packagist](https://packagist.org/packages/netoholic/store-integrator)[ RSS](/packages/netoholic-store-integrator/feed)WikiDiscussions master Synced today

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

Store Integrator Package
========================

[](#store-integrator-package)

Goals
-----

[](#goals)

- Allow seamless integrations with popular selling/shopping platforms.

Current Support
---------------

[](#current-support)

- Ebay (product publishing and rtrieveing, order retrieving and handling)
- Amazon (initial level)

Configuration
-------------

[](#configuration)

### For eBay

[](#for-ebay)

The configuration can be passed directly to the eBay SDK before the integrator is composed, or preferably they can be taken from environment variables.

***List of variables for eBay***

- EBAY-TRADING-API-VERSION - The version of the eBay API.
- EBAY-DEV-ID - The Developer ID key. Taken from eBay.
- EBAY-APP-ID - App ID key, again taken from eBay. Used to identify CloudCart before the users.
- EBAY-CERT-ID - Another Key taken from eBay.

Usage
-----

[](#usage)

Currently the Integrator objects need to be instantiated directly. To reduce complexity the services are grouped in several smaller API wrapper classes, which are then used to compose the main Integrator class.

In future this will be hidden from the end user of the package.

```
    $integrator = new StoreIntegrator\Factory([
        'ebay' => [
            'userToken' => 'token'
            // more data needed
        ]
    ]);

    $integrator->provider('ebay')->products->getProducts();

    $integrator->provider('ebay')->factory->makeShippingService($data = []);
    $integrator->provider('ebay')->factory->makeProduct($data = []);
    $integrator->provider('ebay')->factory->makeProduct($data = []);

```

Added methdos to get user tokens with a few requirements to the application using the package.

Flow;

1 . Get an instance of the eBay provider

```
    $integrator = new StoreIntegrator\Factory();

    $ebay = $integrator->provider('ebay', [ ... ]);

```

2 . Set the RuName of the app (special identificator from eBay for the application)

```
    $ebay->auth->setRuName($ruName);

```

3 . Get a special session id from eBay and store it somewhere (e.g. in the session)

```
    $sessionId = $ebay->auth->getSessionID();

    // save the session id

```

4 . Build a special eBay url to show the user a dialog, where they can agree

```
    $url = $ebay->auth->buildRedirectUrl($sessionId);

```

5 . Redirect the user to the built url (or leave it as link on a page somewhere)

6 . If the user agrees eBay redirects them to a predefined url in the application (https is mandatory) (same happens when they do not agree, but for another url)

7 . When the redirect from eBay is received, get the token and save it for future use

```
    $token = $ebay->auth->getToken($sessionId);

    // Save the token

```

Limitations
-----------

[](#limitations)

- eBay does not allow variation images for multiple properties. Currently accepts only images on product (parent for variations) level

TODO
----

[](#todo)

- Some methods return the raw responses from eBay (would be better with custom data objects)
- Defining interfaces for the data objects to use them as bridge between the domain model of the application and the integrator for ease of use.
- Pretty much everything for Amazon
- Add token expiration logic \[docs\] ()

Contributors
------------

[](#contributors)

- Boyan Yordanov

###  Health Score

30

—

LowBetter than 67% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~7 days

Recently: every ~22 days

Total

19

Last Release

3679d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/52ffb88e14927539235f80e1bfc0108823c73f37035d057c8fff3abb84627c51?d=identicon)[boyanyordanov](/maintainers/boyanyordanov)

---

Top Contributors

[![boyanyordanov](https://avatars.githubusercontent.com/u/1931591?v=4)](https://github.com/boyanyordanov "boyanyordanov (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/netoholic-store-integrator/health.svg)

```
[![Health](https://phpackages.com/badges/netoholic-store-integrator/health.svg)](https://phpackages.com/packages/netoholic-store-integrator)
```

###  Alternatives

[sabre/dav

WebDAV Framework for PHP

1.7k14.5M61](/packages/sabre-dav)[sabre/vobject

The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard objects

61523.0M37](/packages/sabre-vobject)[num-num/ubl-invoice

A modern object-oriented PHP library to create and read valid UBL and EN 16931/Peppol BIS 3.0 files

134764.7k](/packages/num-num-ubl-invoice)[vitalybaev/google-merchant-feed

PHP package for creating Google Merchant products feed

91964.9k4](/packages/vitalybaev-google-merchant-feed)[cleverit/ubl_invoice

A PHP wrapper for UBL invoices

36282.1k](/packages/cleverit-ubl-invoice)[klsheng/myinvois-php-sdk

MyInvois SDK for PHP

9811.7k](/packages/klsheng-myinvois-php-sdk)

PHPackages © 2026

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