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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vhqtvn/amazon-mws-psr4

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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 3w ago

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 26% 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://avatars.githubusercontent.com/u/3288188?v=4)[vanhoavn](/maintainers/vanhoavn)[@vanhoavn](https://github.com/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)
```

###  Alternatives

[wapmorgan/morphos

A morphological solution for Russian and English language written completely in PHP. Provides classes to inflect personal names, geographical names, decline and pluralize nouns, generate cardinal and ordinal numerals, spell out money amounts and time.

8261.3M7](/packages/wapmorgan-morphos)[friendsoftypo3/tt-address

Displays a list of addresses from an address table on the page.

431.8M44](/packages/friendsoftypo3-tt-address)[kiboit/phast

A toolbox for optimizing web page performance

3615.6k1](/packages/kiboit-phast)[mauricerenck/komments

A comment and webmention plugin for Kirby 3

501.3k1](/packages/mauricerenck-komments)

PHPackages © 2026

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