Awesome Open Source
Awesome Open Source


If you want to implement new features you can still fork and enhance this repo. Please let me know if you plan to enhance this library then i can add your fork to this list.


Scrutinizer Code Quality Code Coverage Build Status Latest Stable Version Total Downloads Build Status Documentation Status

ApaiIO is a highly flexible PHP library for fetching the Product Advertising API using REST or SOAP. You can either use the built in operations like ItemSearch or ItemLookup or you can implement your own operations which fits to your needs.

Everything is programmed against interfaces so you can implement your own request or response classes for example.

This class is realized by the Product Advertising API (former ECS) from Amazon WS Front.


The documentation is currently under construction.

You can read here:



$ composer require exeu/apai-io

Composer will generate the autoloader file automaticaly. So you only have to include this. Typically its located in the vendor dir and its called autoload.php

Basic Usage:

This library is using the PSR-4 standard: So you can use any autoloader which fits into this standard. The tests directory contains an example bootstrap file.

namespace Acme\Demo;

use ApaiIO\Configuration\GenericConfiguration;
use ApaiIO\Operations\Search;
use ApaiIO\ApaiIO;

$conf = new GenericConfiguration();
$client = new \GuzzleHttp\Client();
$request = new \ApaiIO\Request\GuzzleRequest($client);

$apaiIO = new ApaiIO($conf);

$search = new Search();
$search->setActor('Bruce Willis');
$search->setKeywords('Die Hard');

$formattedResponse = $apaiIO->runOperation($search);


For some very simple examples go to the samples-folder and have a look at the sample files. These files contain all information you need for building queries successful.

Webservice Documentation:

Hosted on

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
php (16,614
api (1,733
aws (1,101
rest (498
amazon (122
product (22
advertising (18