PHPackages                             dmoore8883/php-amazon-mws - 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. dmoore8883/php-amazon-mws

ActiveLibrary[API Development](/categories/api)

dmoore8883/php-amazon-mws
=========================

An open-source library to connect to Amazon's MWS web services in an object-oriented manner, with a focus on intuitive usage.

1.4.2(8y ago)017Apache-2.0PHPPHP &gt;=5.4

Since Feb 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dustinmoore/phpAmazonMWS)[ Packagist](https://packagist.org/packages/dmoore8883/php-amazon-mws)[ RSS](/packages/dmoore8883-php-amazon-mws/feed)WikiDiscussions stable Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (9)Used By (0)

phpAmazonMWS
============

[](#phpamazonmws)

[![Build Status](https://camo.githubusercontent.com/188bfe6f61ba014e6c2e0a2de7fff20e5e76b4c11d2c34710191ac0d4f7a5123/68747470733a2f2f7472617669732d63692e6f72672f43504947726f75702f706870416d617a6f6e4d57532e7376673f6272616e63683d737461626c65)](https://travis-ci.org/CPIGroup/phpAmazonMWS)

A library to connect to Amazon's Merchant Web Services (MWS) in an object-oriented manner, with a focus on intuitive usage.

This is **NOT** for Amazon Web Services (AWS) - Cloud Computing Services.

Example Usage
-------------

[](#example-usage)

Here are a couple of examples of the library in use. All of the technical details required by the API are handled behind the scenes, so users can easily build code for sending requests to Amazon without having to jump hurdles such as parameter URL formatting and token management.

Here is an example of a function used to get all warehouse-fulfilled orders from Amazon updated in the past 24 hours:

```
function getAmazonOrders() {
    $amz = new AmazonOrderList("myStore"); //store name matches the array key in the config file
    $amz->setLimits('Modified', "- 24 hours");
    $amz->setFulfillmentChannelFilter("MFN"); //no Amazon-fulfilled orders
    $amz->setOrderStatusFilter(
        array("Unshipped", "PartiallyShipped", "Canceled", "Unfulfillable")
        ); //no shipped or pending
    $amz->setUseToken(); //Amazon sends orders 100 at a time, but we want them all
    $amz->fetchOrders();
    return $amz->getList();
}
```

This example shows a function used to send a previously-created XML feed to Amazon to update Inventory numbers:

```
function sendInventoryFeed($feed) {
    $amz=new AmazonFeed(); //if there is only one store in config, it can be omitted
    $amz->setFeedType("_POST_INVENTORY_AVAILABILITY_DATA_"); //feed types listed in documentation
    $amz->setFeedContent($feed);
    $amz->submitFeed();
    return $amz->getResponse();
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 85.6% 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 ~246 days

Recently: every ~181 days

Total

7

Last Release

2991d ago

PHP version history (2 changes)1.0.0PHP ~5.4

1.3.0PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/0994d71436600fdd173f1bc6364869b73cd00257596b408b9248fc15a277fd5e?d=identicon)[dustinmoore](/maintainers/dustinmoore)

---

Top Contributors

[![Peardian](https://avatars.githubusercontent.com/u/2624085?v=4)](https://github.com/Peardian "Peardian (172 commits)")[![carl689](https://avatars.githubusercontent.com/u/619419?v=4)](https://github.com/carl689 "carl689 (24 commits)")[![oyucekaya](https://avatars.githubusercontent.com/u/10419329?v=4)](https://github.com/oyucekaya "oyucekaya (2 commits)")[![benallfree](https://avatars.githubusercontent.com/u/1068356?v=4)](https://github.com/benallfree "benallfree (1 commits)")[![linspb](https://avatars.githubusercontent.com/u/1993447?v=4)](https://github.com/linspb "linspb (1 commits)")[![luigel](https://avatars.githubusercontent.com/u/26235960?v=4)](https://github.com/luigel "luigel (1 commits)")

---

Tags

phpapiamazon

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dmoore8883-php-amazon-mws/health.svg)

```
[![Health](https://phpackages.com/badges/dmoore8883-php-amazon-mws/health.svg)](https://phpackages.com/packages/dmoore8883-php-amazon-mws)
```

###  Alternatives

[cpigroup/php-amazon-mws

An open-source library to connect to Amazon's MWS web services in an object-oriented manner, with a focus on intuitive usage.

255122.3k2](/packages/cpigroup-php-amazon-mws)[sonnenglas/laravel-amazon-mws

Use Amazon's MWS web services with Laravel ^7.x. Based on creacoon/amazon-mws-laravel package and modified to make it compatible with latest Laravel releases (+ bugfixes).

644.5k](/packages/sonnenglas-laravel-amazon-mws)[jakiboy/apaapi

Easily integrate with the Amazon Affiliate Program using the lightweight APAAPI library for Amazon Creators API (With OAuth 2.0 &amp; Credential-less)

543.8k](/packages/jakiboy-apaapi)

PHPackages © 2026

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