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

ActiveLibrary[API Development](/categories/api)

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

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

v1.0.0(1mo ago)1348.7k↓37%71CC-BY-NC-SA-4.0PHPPHP ^8.3CI passing

Since Sep 27Pushed 1mo ago3 watchersCompare

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

READMEChangelog (10)Dependencies (62)Versions (225)Used By (1)

[![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

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

63

—

FairBetter than 99% of packages

Maintenance91

Actively maintained with recent releases

Popularity38

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 77.4% 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 ~9 days

Recently: every ~20 days

Total

188

Last Release

43d ago

Major Versions

v0.12.0 → v1.0.02026-05-22

PHP version history (4 changes)0.0.1PHP ^8.0

v0.0.94PHP ^8.1

v0.6.0PHP ^8.2

v0.12.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15267205?v=4)[Keith Brink](/maintainers/KeithBrink)[@keithbrink](https://github.com/keithbrink)

---

Top Contributors

[![keithbrink](https://avatars.githubusercontent.com/u/15267205?v=4)](https://github.com/keithbrink "keithbrink (309 commits)")[![abdelmajied94abusuliman](https://avatars.githubusercontent.com/u/115414116?v=4)](https://github.com/abdelmajied94abusuliman "abdelmajied94abusuliman (37 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] (19 commits)")[![BeeJeeNinja](https://avatars.githubusercontent.com/u/89654075?v=4)](https://github.com/BeeJeeNinja "BeeJeeNinja (1 commits)")[![zjbarg](https://avatars.githubusercontent.com/u/26728749?v=4)](https://github.com/zjbarg "zjbarg (1 commits)")

---

Tags

amazonamazonsellermwsmws-apiphpselling-partner-apiselling-partner-api-sdk

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.0k](/packages/simplestats-io-laravel-client)[keboola/storage-api-client

Keboola Storage API PHP Client

10405.9k40](/packages/keboola-storage-api-client)

PHPackages © 2026

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