PHPackages                             vhqtvn/amazon-mws-psr4 - 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. vhqtvn/amazon-mws-psr4

ActiveLibrary

vhqtvn/amazon-mws-psr4
======================

Amazon MWS rebuild

3772PHP

Since Mar 20Pushed 8y ago2 watchersCompare

[ Source](https://github.com/vhqtvn/amazon-mws-psr4)[ Packagist](https://packagist.org/packages/vhqtvn/amazon-mws-psr4)[ RSS](/packages/vhqtvn-amazon-mws-psr4/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Amazon Marketplace Webservice PSR4
----------------------------------

[](#amazon-marketplace-webservice-psr4)

Amazon Marketplace Webservice SDKs in PSR4.

Install using composer:

```
composer require vhqtvn/amazon-mws-psr4
```

Example usage:

```
try {
    $service = new MarketplaceWebServiceOrdersClient(
        AWS_ACCESS_KEY_ID,
        AWS_SECRET_ACCESS_KEY,
        APP_NAME,
        APP_VERSION,
        [
            'ServiceURL' => "https://mws.amazonservices.com/Orders/" . MarketplaceWebServiceOrdersClient::SERVICE_VERSION,
        ]
    );
    $request = new MarketplaceWebServiceOrdersModelListOrdersRequest();
    $request->setSellerId($client->MERCHANT_ID);
    $request->setMarketplaceId($client->MARKETPLACE_ID);
    $request->setCreatedAfter(Carbon::now()->modify('-1 day')->toIso8601String());
    $response = $service->ListOrders($request);
    foreach ($response->ListOrdersResult->Orders as $order) {
        echo "============================================\n";
        echo "= Order $order->AmazonOrderId\n";
        echo "= Customer Email $order->BuyerEmail\n";
        echo "= Customer Name $order->BuyerName\n";
    }
} catch (MarketplaceWebServiceOrdersException $ex) {
    echo("Caught Exception: " . $ex->getMessage() . "\n");
    echo("Response Status Code: " . $ex->getStatusCode() . "\n");
    echo("Error Code: " . $ex->getErrorCode() . "\n");
    echo("Error Type: " . $ex->getErrorType() . "\n");
    echo("Request ID: " . $ex->getRequestId() . "\n");
    echo("XML: " . $ex->getXML() . "\n");
    echo("ResponseHeaderMetadata: " . $ex->getResponseHeaderMetadata() . "\n");
} catch (\Exception $ex) {
}
```

###  Health Score

23

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/28dd2defec23adccc4561312a3f3997480685a156080fadb2e0222f13ab7ff1e?d=identicon)[vanhoavn](/maintainers/vanhoavn)

---

Top Contributors

[![vanhoavn](https://avatars.githubusercontent.com/u/3288188?v=4)](https://github.com/vanhoavn "vanhoavn (28 commits)")

### Embed Badge

![Health badge](/badges/vhqtvn-amazon-mws-psr4/health.svg)

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

PHPackages © 2026

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