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

ActiveLibrary[API Development](/categories/api)

glassfrogbooks/paapi5-php-sdk
=============================

ProductAdvertisingAPI 5.0 PHP SDK

1.0.0.2(5y ago)148.2k3Apache-2.0PHPPHP &gt;=5.5CI failing

Since Aug 29Pushed 5y agoCompare

[ Source](https://github.com/GlassFrogBooks/php-paapi5-sdk)[ Packagist](https://packagist.org/packages/glassfrogbooks/paapi5-php-sdk)[ Docs](https://webservices.amazon.com/paapi5/documentation/index.html)[ RSS](/packages/glassfrogbooks-paapi5-php-sdk/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

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

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

[![Version](https://camo.githubusercontent.com/5bd131d125d98cd188650a03bd04f7412d962597212c4d91e86f86384915a550/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616d7a6e2f7061617069352d7068702d73646b)](https://img.shields.io/packagist/v/amzn/paapi5-php-sdk)

[![Total Downloads](https://camo.githubusercontent.com/fdb5173878795fb59849c4cd6e1e2f2be85e0fd87d352caa7978c1f824d16808/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616d7a6e2f7061617069352d7068702d73646b2e7376673f7374796c653d666c6174)](https://packagist.org/packages/amzn/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.

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 [`amzn/paapi5-php-sdk`](https://packagist.org/packages/amzn/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 glassfrogbooks/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:

```
