New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

revolution/laravel-amazon-product-api

Amazon Product Advertising API for Laravel
58,847 80

Larablocks Analysis

revolution/laravel-amazon-product-api works with Laravel 12 and 13 (latest release 4.10.0, Feb 22, 2026).

Laravel 4 to 11 in earlier releases.

Recommendation checks

Solid choice

Solid choice: maintained and up to date, meets 2 of 4 checks; below the bar for Recommended on use.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Feb 22, 2026)
  • 2,422 downloads a month (needs 10,000)
  • 80 GitHub stars (needs 100)

State

Maintained
  • Last stable release: Feb 22, 2026.
  • 1 release in the last 12 months.
  • First released: Sep 15, 2017.
  • Monthly downloads: 2,422.
  • 5 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.

Install
composer require revolution/laravel-amazon-product-api
Latest Version:4.10.0
PHP:^8.3
Laravel:12 · 13
Older releases:4 – 11
License:MIT
Last Updated:Oct 30, 2026
Links: GitHub  ·  Packagist
Maintainer: revolution

Amazon Product Advertising API for Laravel

Maintainability Code Coverage

End of active support (2020/06)

The recent Amazon Product Advertising API has become more restrictive and difficult to use.
Although we support the latest Laravel/PHP, it is in maintenance mode with no other development work.

Requirements

  • PHP >= 8.3
  • Laravel >= 12.0

Installation

composer require revolution/laravel-amazon-product-api

Uninstall

composer remove revolution/laravel-amazon-product-api

Publishing config (Optional)

php artisan vendor:publish --tag=amazon-product-config

.env

AMAZON_API_KEY=
AMAZON_API_SECRET_KEY=
AMAZON_ASSOCIATE_TAG=
AMAZON_HOST=webservices.amazon.com
AMAZON_REGION=us-east-1

Country lists

https://webservices.amazon.com/paapi5/documentation/common-request-parameters.html

Note

Usage

<?php
use Revolution\Amazon\ProductAdvertising\Facades\AmazonProduct;

# string $category, string $keyword = null, int $page = 1
$response = AmazonProduct::search(category: 'All', keyword: 'amazon' , page: 1);
dd($response);
# returns normal array

# string $browse Browse node
$response = AmazonProduct::browse(node: '1');

# string $asin ASIN
$response = AmazonProduct::item(asin: 'ASIN1');

# array $asin ASIN
$response = AmazonProduct::items(asin: ['ASIN1', 'ASIN2']);

# setIdType: support only item() and items()
$response = AmazonProduct::setIdType(idType: 'EAN')->item(asin: 'EAN');
# reset to ASIN
AmazonProduct::setIdType(idType: 'ASIN');
# PA-APIv5 not support EAN?

browse() is not contains detail data.

use Revolution\Amazon\ProductAdvertising\Facades\AmazonProduct;

$response = AmazonProduct::browse(node: '1');
$nodes = data_get($response, 'BrowseNodesResult');
$items = data_get($nodes, 'BrowseNodes.TopSellers.TopSeller');
$asins = data_get($items, '*.ASIN');
$results = AmazonProduct::items(asin: $asins);
# PA-APIv5 not support TopSeller?

Probably, you need try-catch or Laravel's rescue() helper.

use Revolution\Amazon\ProductAdvertising\Facades\AmazonProduct;

try {
    $response = AmazonProduct::browse(node: '1');
} catch(ApiException $e) {

}

$response = rescue(function () use ($browse_id) {
                return AmazonProduct::browse(node: $browse_id);
            }, []);

LICENSE

MIT
Copyright kawax

Related Packages

revolution/socialite-amazon

Socialite for Login with Amazon

197,553 13
ireisaac/mws

mws api

287 3
luigel/laravel5-amazon-mws

Use Amazon's MWS web services with Laravel. Based on creacoon/amazon-mws-laravel...

4,661 0
db1-fpp/laravel-elasticache

Add new cache and session driver to use AWS ElastiCache with auto discovery

1,318 2
andrewfenn/aws-helper

A small helper library to make intergration of the AWS SDK easier

1,229 1

Version History

Version Released PHP Laravel License
4.10.0 ^8.3 ^12.0||^13.0 MIT
4.9.1 ^8.2 ^11.0||^12.0 MIT
4.9.0 ^8.2 ^11.0||^12.0 MIT
4.8.0 ^8.1 ^10.0||^11.0 MIT
4.7.0 ^8.0 ^9.0||^10.0 MIT