PHPackages                             zero-to-prod/spapi-lwa-sdk - 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. zero-to-prod/spapi-lwa-sdk

ActiveLibrary[API Development](/categories/api)

zero-to-prod/spapi-lwa-sdk
==========================

A Software Development Kit for connecting to Amazons Selling Partner API with Login With Amazon (LWA).

v1.1.0(1y ago)11[1 PRs](https://github.com/zero-to-prod/spapi-lwa-sdk/pulls)MITPHPPHP &gt;=8.1CI passing

Since Feb 4Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/zero-to-prod/spapi-lwa-sdk)[ Packagist](https://packagist.org/packages/zero-to-prod/spapi-lwa-sdk)[ Docs](https://github.com/zero-to-prod/spapi-lwa-sdk)[ Fund](https://github.com/sponsors/zero-to-prod)[ RSS](/packages/zero-to-prod-spapi-lwa-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (5)Used By (0)

Zerotoprod\\SpapiLwaSdk
=======================

[](#zerotoprodspapilwasdk)

[![](art/logo.png)](art/logo.png)

[![Repo](https://camo.githubusercontent.com/9a90a3efeee26aed7d7f2feee9cd84566a26f9c362cc773b184d076210906e1c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6769746875622d677261793f6c6f676f3d676974687562)](https://github.com/zero-to-prod/spapi-lwa-sdk)[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/df8a6da589733675d9c8f33f51fb346ed24c735cac7808e293b28b39da9eb954/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a65726f2d746f2d70726f642f73706170692d6c77612d73646b2f746573742e796d6c3f6c6162656c3d74657374)](https://github.com/zero-to-prod/spapi-lwa-sdk/actions)[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/3865de26c2e944666f8fa6e2ee00a72139e8b76841768343cf3f89883b04f7fb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a65726f2d746f2d70726f642f73706170692d6c77612d73646b2f6261636b77617264735f636f6d7061746962696c6974792e796d6c3f6c6162656c3d6261636b77617264735f636f6d7061746962696c697479)](https://github.com/zero-to-prod/spapi-lwa-sdk/actions)[![Packagist Downloads](https://camo.githubusercontent.com/c8e0a199d8fca4bad263118492a36ac007925043fbb72d30553f85fd413aafc0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a65726f2d746f2d70726f642f73706170692d6c77612d73646b3f636f6c6f723d626c7565)](https://packagist.org/packages/zero-to-prod/spapi-lwa-sdk/stats)[![php](https://camo.githubusercontent.com/d640ca4609fbf4728194892b127e1af82507630e016d8fe327106e6423b9429f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7a65726f2d746f2d70726f642f73706170692d6c77612d73646b2e7376673f636f6c6f723d707572706c65)](https://packagist.org/packages/zero-to-prod/spapi-lwa-sdk/stats)[![Packagist Version](https://camo.githubusercontent.com/190ba1e06cfb79a6a9f957f8d9cb7789344df03f45ebee0e622a092cb78b71ed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a65726f2d746f2d70726f642f73706170692d6c77612d73646b3f636f6c6f723d663238643161)](https://packagist.org/packages/zero-to-prod/spapi-lwa-sdk)[![License](https://camo.githubusercontent.com/9ee0034d48a7e1d224b326f5a3b4b1575256965813c84884731ac0ce4115a6d4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7a65726f2d746f2d70726f642f73706170692d6c77612d73646b3f636f6c6f723d70696e6b)](https://github.com/zero-to-prod/spapi-lwa-sdk/blob/main/LICENSE.md)[![wakatime](https://camo.githubusercontent.com/4fc361eabe92b1c43d8b39abba48c1282e53ae6163ea2ef15d5b81aaa87021f0/68747470733a2f2f77616b6174696d652e636f6d2f62616467652f6769746875622f7a65726f2d746f2d70726f642f73706170692d6c77612d73646b2e737667)](https://wakatime.com/badge/github/zero-to-prod/spapi-lwa-sdk)[![Hits-of-Code](https://camo.githubusercontent.com/cfa1591287498e2668e24ebf76fac639cf2ad75ca331c2b1008dc579435d341b/68747470733a2f2f686974736f66636f64652e636f6d2f6769746875622f7a65726f2d746f2d70726f642f73706170692d6c77612d73646b3f6272616e63683d6d61696e)](https://hitsofcode.com/github/zero-to-prod/spapi-lwa-sdk/view?branch=main)

Contents
--------

[](#contents)

- [Introduction](#introduction)
- [Requirements](#requirements)
- [Installation](#installation)
- [Documentation Publishing](#documentation-publishing)
    - [Automatic Documentation Publishing](#automatic-documentation-publishing)
- [Usage](#usage)
- [Local Development](./LOCAL_DEVELOPMENT.md)
- [Contributing](#contributing)

Introduction
------------

[](#introduction)

A Software Development Kit for connecting to Amazons Selling Partner API with Login With Amazon (LWA).

Requirements
------------

[](#requirements)

- PHP 7.1 or higher.

Installation
------------

[](#installation)

Install `Zerotoprod\SpapiLwaSdk` via [Composer](https://getcomposer.org/):

```
composer require zero-to-prod/spapi-lwa-sdk
```

This will add the package to your project's dependencies and create an autoloader entry for it.

Documentation Publishing
------------------------

[](#documentation-publishing)

You can publish this README to your local documentation directory.

This can be useful for providing documentation for AI agents.

This can be done using the included script:

```
# Publish to default location (./docs/zero-to-prod/spapi-lwa-sdk)
vendor/bin/zero-to-prod-spapi-lwa-sdk

# Publish to custom directory
vendor/bin/zero-to-prod-spapi-lwa-sdk /path/to/your/docs
```

### Automatic Documentation Publishing

[](#automatic-documentation-publishing)

You can automatically publish documentation by adding the following to your `composer.json`:

```
{
    "scripts": {
        "post-install-cmd": [
            "zero-to-prod-spapi-lwa-sdk"
        ],
        "post-update-cmd": [
            "zero-to-prod-spapi-lwa-sdk"
        ]
    }
}
```

Usage
-----

[](#usage)

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

[](#contributing)

Contributions, issues, and feature requests are welcome! Feel free to check the [issues](https://github.com/zero-to-prod/spapi-lwa-sdk/issues) page if you want to contribute.

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Commit changes (`git commit -m 'Add some feature'`).
4. Push to the branch (`git push origin feature-branch`).
5. Create a new Pull Request.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance56

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

3

Last Release

460d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/502649f05d36c87d494988bd99193a4d908d345335d99c080928a726277371f5?d=identicon)[zero-to-prod](/maintainers/zero-to-prod)

---

Top Contributors

[![zero-to-prod](https://avatars.githubusercontent.com/u/61474950?v=4)](https://github.com/zero-to-prod "zero-to-prod (12 commits)")

---

Tags

zero-to-prodspapi-lwa-sdk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zero-to-prod-spapi-lwa-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/zero-to-prod-spapi-lwa-sdk/health.svg)](https://phpackages.com/packages/zero-to-prod-spapi-lwa-sdk)
```

PHPackages © 2026

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