PHPackages                             astgroup/laravel-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. astgroup/laravel-amazon-mws

ActiveLibrary[API Development](/categories/api)

astgroup/laravel-amazon-mws
===========================

A minimal service provider to set up and use the MWS API PHP library in Laravel 5.\*

0.1.18(7y ago)0273[1 issues](https://github.com/ASTgroup/laravel-amazon-mws/issues)GPL-3.0-onlyPHP

Since Jul 3Pushed 7y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

astgroup/laravel-amazon-mws
===========================

[](#astgrouplaravel-amazon-mws)

A minimal service provider to set up and use the Amazon MWS API PHP library in Laravel 5.\*

Forked from  (based on 1.4.2)

Version: 0.1.16

How it works - Usage Example
----------------------------

[](#how-it-works---usage-example)

```
use LaravelAmazonMws\AmazonOrderList;
```

```
$amz = new AmazonOrderList($store); // Store array
$amz->setLimits('Modified', "- 5000 hours");
$amz->setFulfillmentChannelFilter("AFN"); //Amazon-fulfilled orders
$amz->setOrderStatusFilter(
    array("Shipped")
    );
$amz->setUseToken(); //Amazon sends orders 100 at a time, but we want them all
$amz->fetchOrders();
$amz->getList();
```

See how this all comes together below.

Setup
-----

[](#setup)

**Step 1: Adding the dependency to composer.json**

Add this to your composer.json in your Laravel folder. Note: Adding this dependency will automatically setup "anlutro/l4-settings" too.

```
"require": {
    "astgroup/laravel-amazon-mws": "0.*",
}
```

**Step 3: From the command-line run**

```
php artisan vendor:publish

```

This will publish the LaravelSettings config file to the config directory, which will give you control over which storage engine to use as well as some storage-specific settings.

**Step 4: Add your settings to the LaravelSettings Settings Facade in the 'boot' method of the MwsServiceProvider.php file like this**

```
//Set up the MWS configutation as defined in the LaravelSettings Object by app.

Setting::set("storeName","mystore"); // This will be the key to store the configuration, you pass this as an option to objects you instanstiate with setstore()
Setting::set("authToken",""); //Mws Auth Token - For third party users.
Setting::set("merchantId","");  //Seller ID
Setting::set("marketplaceId",""); //Marketplace ID
Setting::set("keyId","");  //Key ID
Setting::set("secretKey",""); //Secret Key
Setting::set("amazonServiceUrl","");  // Set to your relevant URL if different from default
Setting::set("muteLog","false");  //To log requests, make it true on production to stop logging.
```

You can then reference them within your app and run Mws API methods like this - Be sure to specify the 'storename' that you set in the 'boot' method as seen below when initialising Objects:

```
use Mws\Laravel\AmazonOrderList;
```

```
$amz = new AmazonOrderList(Setting::get('storeName')); //Store name matches the array key in the settings
$amz->setLimits('Modified', "- 5000 hours");
$amz->setFulfillmentChannelFilter("AFN"); //Amazon-fulfilled orders
$amz->setOrderStatusFilter(
    array("Shipped")
    );
$amz->setUseToken(); //Amazon sends orders 100 at a time, but we want them all
$amz->fetchOrders();
$amz->getList();
```

The use of the Settings facade allows you to change your settings on the fly, or in the case of multiple users, replace settings with whatever user needs to make an API call at the time. For example, the logged in user.

**Good to go!**

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

5

Last Release

2869d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d4ef1234242884d98af1c508b74c637ae5ba912eb6bdbd03fa3d30b09f61e37?d=identicon)[zenkr](/maintainers/zenkr)

---

Top Contributors

[![zenkr](https://avatars.githubusercontent.com/u/5796942?v=4)](https://github.com/zenkr "zenkr (21 commits)")

---

Tags

phpapilaravelamazonconfigmwspersistentfbaAmazon-api

### Embed Badge

![Health badge](/badges/astgroup-laravel-amazon-mws/health.svg)

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

###  Alternatives

[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)

PHPackages © 2026

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