PHPackages                             vincentwon/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. vincentwon/mws

ActiveLibrary

vincentwon/mws
==============

Amazon MWS API for Laravel.

22.0kPHP

Since Apr 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/VincentWon/mws)[ Packagist](https://packagist.org/packages/vincentwon/mws)[ RSS](/packages/vincentwon-mws/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Amazon MWS
==========

[](#amazon-mws)

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

\##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

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/532620928c16f44da64890d50ebb5069c4cfcbf010e859aeda92898300847e2b?d=identicon)[VincentWon](/maintainers/VincentWon)

---

Top Contributors

[![Peardian](https://avatars.githubusercontent.com/u/2624085?v=4)](https://github.com/Peardian "Peardian (160 commits)")[![carl689](https://avatars.githubusercontent.com/u/619419?v=4)](https://github.com/carl689 "carl689 (23 commits)")[![VincentWon](https://avatars.githubusercontent.com/u/323912?v=4)](https://github.com/VincentWon "VincentWon (18 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)")

### Embed Badge

![Health badge](/badges/vincentwon-mws/health.svg)

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

PHPackages © 2026

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