Download the PHP package enbit/amazon-mws-laravel without Composer
On this page you can find all versions of the php package enbit/amazon-mws-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download enbit/amazon-mws-laravel
More information about enbit/amazon-mws-laravel
Files in enbit/amazon-mws-laravel
Package amazon-mws-laravel
Short Description Laravel Implementation for 'meertensm amazon-mws'
License GPL-3.0-only
Homepage https://github.com/enbit/amazon-mws-laravel
Informations about the package amazon-mws-laravel
amazon-mws-laravel
Laravel Implementation for meertensm/amazon-mws
Contents
- Installation
- Configuration
- Usage
Link to the Official Amazon MWS Documentation
Installation
Require the package using composer:
The package will automatically register itself.
Add your Environment Variables for MWS to your .env File. The variable names are listed in the enbit-amazon-mws.php config file.
Configuration
To successfully authenticate with the Amazon Marketplace Web Service you need to add the Environment variables to your .env
File. The variable names are listed in the enbit-amazon-mws.php config file.
Also you can set a default marketplace.
You can optionally publish the configuration with:
This will create an enbit-amazon-mws.php
in your config directory.
Config file content with the env variables:
Optionally
you can pass custom config to the AmazonMWS service like this:
Marketplaces
to simplicity the code, you will pass just the country code, then the package will chooses the right endpoint and market place id, and you still can pass the market place id instead.
available countries code |
---|
'CA' |
'MX' |
'US' |
'AE' |
'DE' |
'EG' |
'ES' |
'FR' |
'GB' |
'IN' |
'IT' |
'SA' |
'TR' |
'SG' |
'AU' |
'JP' |
Usage
you can simply use any of mcs/amazon-mws functions, as Example:
Get orders
For more Info check meertensm/amazon-mws Documentation