PHPackages                             gsystemsit/php-amzn-selling-partner-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. gsystemsit/php-amzn-selling-partner-api

ActiveLibrary[API Development](/categories/api)

gsystemsit/php-amzn-selling-partner-api
=======================================

A fluent interface for Amazon's Selling Partner API in PHP

1.0.1(1y ago)019CC-BY-NC-SA-4.0PHPPHP &gt;8.1

Since Jul 31Pushed 1y agoCompare

[ Source](https://github.com/gsystemsit/php-amzn-selling-partner-api)[ Packagist](https://packagist.org/packages/gsystemsit/php-amzn-selling-partner-api)[ GitHub Sponsors](https://github.com/jasara)[ RSS](/packages/gsystemsit-php-amzn-selling-partner-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (12)Versions (3)Used By (0)

[![CI](https://github.com/jasara/php-amzn-selling-partner-api/actions/workflows/ci.yml/badge.svg)](https://github.com/jasara/php-amzn-selling-partner-api/actions/workflows/ci.yml)[![Code coverage](https://raw.githubusercontent.com/jasara/php-amzn-selling-partner-api/main/.github/coverage.svg)](https://github.com/jasara/php-amzn-selling-partner-api)

PHP SDK for Amazon's Selling Partner API
========================================

[](#php-sdk-for-amazons-selling-partner-api)

This is a work-in-progress implementation of Amazon's Selling Partner API in PHP. This package aims to provide an easy to use, fluent interface to the API.

If you would like to participate in the development of this SDK, please get in touch with us at

We also maintain an updated fork of the old Amazon MWS API for Laravel:

Documentation
=============

[](#documentation)

This README provides some basic details about the package; detailed documentation is available at:

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

[](#installation)

You can use Composer to install this package in your projects:

`composer require jasara/php-amzn-selling-partner-api`

Usage
=====

[](#usage)

The best way to understand how to use this SDK is by reading the documentation for the specific call you would like to make. In general, you should expect a fluent interface, such as:

```
use Jasara\AmazonSPA\AmznSPA;

$amazon = new AmznSPA($config);
$response = $amzn->feeds->getFeed($feed_id);
if($response->errors) {
    return $response->errors; // ErrorListSchema
}

if($response->feed) {
    $document = $amazon->feeds->getFeedDocument($feed->result_feed_document_id);
}
```

Config
------

[](#config)

When you instantiate the AmazonSPA class, the config is an object that should be initialized and then passed in:

```
use Jasara\AmznSPA\AmznSPAConfig;

$config = new AmznSPAConfig(
    marketplace_id: 'ATVPDKIKX0DER',
    application_id: '***',
    lwa_access_token: '***',
    lwa_refresh_token: '***', // If you would like the SDK to automatically fetch a new access token if necessary
    lwa_client_id: '***',
    lwa_client_secret: '***',
    aws_access_key: '***',
    aws_secret_key: '***',
);
```

License
=======

[](#license)

This project is not licensed for commercial usage, but you are hereby granted the right to use this project for commercial purposes as long as your annual revenue is under $100,000 USD.

Above that level, please [visit our Sponsors page](https://github.com/sponsors/jasara) to obtain an automatic commercial license.

You are free to use the project for non-commercial purposes.

Why a Non Commercial License?
-----------------------------

[](#why-a-non-commercial-license)

Judging by the current pace of development by the Amazon Selling Partner API team, it looks like they plan to develop at a rapid pace, so it will be an effort to keep up with all the changes. We would like this project to start with sustainability in mind, rather than have a project that only works properly for several months and then no longer receives updates.

If reducing costs is more important to you than development speed and sustainability, you can always generate your own PHP SDK using the swagger-gen tools that the Selling Partner API team provides.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.3% 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

2

Last Release

647d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d8fa5804d2c981f859d18570cb0512408efeedc04c8b4eac2d84d84aafd10db?d=identicon)[gsystemsit](/maintainers/gsystemsit)

---

Top Contributors

[![keithbrink](https://avatars.githubusercontent.com/u/15267205?v=4)](https://github.com/keithbrink "keithbrink (251 commits)")[![Taghreed81](https://avatars.githubusercontent.com/u/70059931?v=4)](https://github.com/Taghreed81 "Taghreed81 (32 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (17 commits)")[![gsystemsit](https://avatars.githubusercontent.com/u/38344484?v=4)](https://github.com/gsystemsit "gsystemsit (4 commits)")[![zjbarg](https://avatars.githubusercontent.com/u/26728749?v=4)](https://github.com/zjbarg "zjbarg (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisRector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/gsystemsit-php-amzn-selling-partner-api/health.svg)

```
[![Health](https://phpackages.com/badges/gsystemsit-php-amzn-selling-partner-api/health.svg)](https://phpackages.com/packages/gsystemsit-php-amzn-selling-partner-api)
```

###  Alternatives

[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[keboola/storage-api-client

Keboola Storage API PHP Client

10387.5k25](/packages/keboola-storage-api-client)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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