PHPackages                             a-yasui/paapi5-php-sdk - 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. a-yasui/paapi5-php-sdk

AbandonedArchivedLibrary[API Development](/categories/api)

a-yasui/paapi5-php-sdk
======================

ProductAdvertisingAPI 5.0 PHP SDK

1.2.0(3y ago)08Apache-2.0PHPPHP &gt;=8.1

Since Sep 14Pushed 2y agoCompare

[ Source](https://github.com/a-yasui/paapi5-php-sdk)[ Packagist](https://packagist.org/packages/a-yasui/paapi5-php-sdk)[ Docs](https://webservices.amazon.com/paapi5/documentation/index.html)[ RSS](/packages/a-yasui-paapi5-php-sdk/feed)WikiDiscussions main Synced 1mo ago

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

Product Advertising API 5.0 SDK for PHP
=======================================

[](#product-advertising-api-50-sdk-for-php)

!!! USE ORIGINAL !!!
====================

[](#-use-original-)

This repository existed for PHP 8.1.

you have to use Original::

---

[![Version](https://camo.githubusercontent.com/68717ca07e4702151933a01f09e6113c69ff4f88cf3fc5de6d19e871c667fb1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f612d79617375692f7061617069352d7068702d73646b)](https://img.shields.io/packagist/v/a-yasui/paapi5-php-sdk)

[![Total Downloads](https://camo.githubusercontent.com/45e898e914c14ea2c6bd2546fdbdeb0f7677fb7cd284a07cca28d7cfbd69d2f2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f612d79617375692f7061617069352d7068702d73646b2e7376673f7374796c653d666c6174)](https://packagist.org/packages/a-yasui/paapi5-php-sdk)

This repository contains the open source PHP SDK that allows you to access the [Product Advertising API](https://webservices.amazon.com/paapi5/documentation/index.html) from your PHP app.

Copy of Amazon's Provided Code
------------------------------

[](#copy-of-amazons-provided-code)

This is a public copy of [Amazon's provided code](https://webservices.amazon.com/paapi5/documentation/quick-start/using-sdk.html), as their version is not available through Packagist as of writing.

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

[](#installation)

The Product Advertising API PHP SDK can be installed with [Composer](https://getcomposer.org/). The SDK is available via [Packagist](http://packagist.org/) under the [`a-yasui/paapi5-php-sdk`](https://packagist.org/packages/a-yasui/paapi5-php-sdk) package. If Composer is installed globally on your system, you can run the following in the base directory of your project to add the SDK as a dependency:

```
composer require a-yasui/paapi5-php-sdk
```

Usage
-----

[](#usage)

> **Note:** This version of the Product Advertising API SDK for PHP requires PHP 5.5 or greater.

Simple example for [SearchItems](https://webservices.amazon.com/paapi5/documentation/search-items.html) to discover Amazon products with the keyword 'Harry Potter' in Books category:

```
