PHPackages                             rossjcooper/laravel-amazon-products - 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. rossjcooper/laravel-amazon-products

AbandonedArchivedLibrary[API Development](/categories/api)

rossjcooper/laravel-amazon-products
===================================

A Laravel wrapper for the Amazon Products API SDK

1.0.4(3y ago)131apache-2.0PHP

Since Oct 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rossjcooper/laravel-amazon-products)[ Packagist](https://packagist.org/packages/rossjcooper/laravel-amazon-products)[ RSS](/packages/rossjcooper-laravel-amazon-products/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (6)Used By (0)

Amazon Products API SDK Wrapper for Laravel
===========================================

[](#amazon-products-api-sdk-wrapper-for-laravel)

[![Build Status](https://camo.githubusercontent.com/3f808da3577c5416021d5db9e180a238183ee379b75477d06ff2e972ae68b251/68747470733a2f2f7472617669732d63692e6f72672f726f73736a636f6f7065722f6c61726176656c2d616d617a6f6e2d70726f64756374732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rossjcooper/laravel-amazon-products) [![Latest Stable Version](https://camo.githubusercontent.com/c7e24c5e6825199fd22157d75157d9fe0142d6258a69afb278ac2ae2bce92efb/68747470733a2f2f706f7365722e707567782e6f72672f726f73736a636f6f7065722f6c61726176656c2d616d617a6f6e2d70726f64756374732f762f737461626c65)](https://packagist.org/packages/rossjcooper/laravel-amazon-products) [![Total Downloads](https://camo.githubusercontent.com/1576428a7d938bd44be23943080e46a7a6e8ab55cee802a830cefd5e7eb4a6ac/68747470733a2f2f706f7365722e707567782e6f72672f726f73736a636f6f7065722f6c61726176656c2d616d617a6f6e2d70726f64756374732f646f776e6c6f616473)](https://packagist.org/packages/rossjcooper/laravel-amazon-products) [![License](https://camo.githubusercontent.com/5bdd171b496802491c4e559f452780c6319aec52e0caaac4c070ce4cf452c600/68747470733a2f2f706f7365722e707567782e6f72672f726f73736a636f6f7065722f6c61726176656c2d616d617a6f6e2d70726f64756374732f6c6963656e7365)](https://packagist.org/packages/rossjcooper/laravel-amazon-products)

This is a wrapper for the [rossjcooper/paapiphpsdk](https://github.com/rossjcooper/paapiphpsdk) package and gives the user a Service Container binding and facade a configured instance of the `Amazon\ProductAdvertisingAPI\v1\com\amazon\paapi5\v1\api\DefaultApi` class.

Installation
------------

[](#installation)

1. `composer require rossjcooper/laravel-amazon-products`
2. For Laravel 5.4 or earlier, in your `config/app.php` file:
    - Add `Rossjcooper\LaravelAmazonProducts\ServiceProvider::class` to your providers array in `config/app.php`.
    - Add `'AmazonProductsAPI' => Rossjcooper\LaravelAmazonProducts\Facades\API::class` to your aliases array in `config/app.php`.
3. `php artisan vendor:publish --provider="Rossjcooper\LaravelAmazonProducts\ServiceProvider" --tag="config"` will create a `config/amazon_products.php` file.
4. Add your Amazon access and secret keys into the your `.env` file:

```
AMAZON_PRODUCTS_ACCESS_KEY=youAccessKey
AMAZON_PRODUCTS_PRIVATE_KEY=youPrivateKey

```

5. Optionally update your host and region values in the `config/amazon_products.php` file.

Usage
-----

[](#usage)

```
public function handle(\Rossjcooper\LaravelAmazonProducts\API $api)
{
     $request = new SearchItemsRequest();
        $request->setSearchIndex('All');
        $request->setKeywords('Harry Potter');
        $request->setResources([
            SearchItemsResource::ITEM_INFOTITLE,
            SearchItemsResource::OFFERSLISTINGSPRICE,
        ]);
        $request->setPartnerTag(config('mypartnertag'));
        $request->setPartnerType(config('Associates'));

        $response = $api->searchItems($request);

        foreach($response->getSearchResult()->getItems() as $item) {
            //...
        }
}
```

For more info on using the actual SDK see the main repo [rossjcooper/paapiphpsdk](https://github.com/rossjcooper/paapiphpsdk)

Testing
-------

[](#testing)

We're using the brilliant [Orchestra Testbench](https://github.com/orchestral/testbench) v4 to run unit tests in a Laravel based environment.

Issues
------

[](#issues)

Please only report issues relating to the Laravel side of things here, main API issues should be reported [here](https://github.com/rossjcooper/paapiphpsdk/issues)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~250 days

Total

5

Last Release

1407d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0656ac2c71910f47f1d565d0f1f390d76e476faff7ce13f6e455408c659a4151?d=identicon)[rossjcooper](/maintainers/rossjcooper)

---

Top Contributors

[![rossjcooper](https://avatars.githubusercontent.com/u/3597958?v=4)](https://github.com/rossjcooper "rossjcooper (10 commits)")

---

Tags

apilaravelamazonproductspaapi

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/rossjcooper-laravel-amazon-products/health.svg)

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

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[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)
