PHPackages                             flostone/amazon - 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. flostone/amazon

AbandonedLibrary[API Development](/categories/api)

flostone/amazon
===============

Amazon API Package

1.1.0(8y ago)011PHP

Since May 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/FloStone/amazon)[ Packagist](https://packagist.org/packages/flostone/amazon)[ RSS](/packages/flostone-amazon/feed)WikiDiscussions master Synced 4w ago

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

\#Amazon Api Helper

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

[](#installation)

Add this package to your composer.json or execute
`composer require flostone/amazon`
Include the Amazon Class using
`use FloStone\Amazon\Amazon;`
and
`use FloStone\Amazon\AmazonCountry;`
for the available countries. ##Usage ###Amazon Credentials All you need is an Amazon Access Key (public and secret) and an Associate Tag.
You can get your Access Key [here](https://console.aws.amazon.com/iam/home?#home)
For the Associate Tag you must create an Associate Account [here](https://affiliate-program.amazon.com/)

\###Using the Code Create a new Amazon instance using
`$amazon = new Amazon($accesskey, $associatetag, $secretkey, $locale);`
The locale can be any of the supported Amazon Locales.
You can use strings or the pre-defined constants found in AmazonCountry.php.
Constants:
`AmazonCountry::US // USA`
`AmazonCountry::DE // Germany`
`AmazonCountry::FR // France`
`AmazonCountry::UK // United Kingdom`
`AmazonCountry::IT // Italy`
`AmazonCountry::ES // Spain`
`AmazonCountry::BR // Brasil`
`AmazonCountry::CA // Canada`
`AmazonCountry::CN // China`
`AmazonCountry::IN // India`
`AmazonCountry::JP // Japan`
`AmazonCountry::MX // Mexico`
After initializing the Instance, you can now add Parameters using the "param" function:
`$amazon->param('Operation', 'ItemSearch');`
These parameters will be in the request url.
After adding all your parameters, simply use the "request" function to send the request:
`$response = $amazon->request()`
By default the response will be a Page of the Amazon API parsed through the SimpleXMLElement class.
However, if you wish to get all Pages in a returned collection, simply add
`$amazon->allPages = true`
to the instance and it will return a collection of 10 Pages.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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

Total

3

Last Release

3169d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63fd1957ec0fd3b62eb4a10e5799ddaa79fba822aaaf40c39c7d2ce872846c17?d=identicon)[FloStone](/maintainers/FloStone)

---

Top Contributors

[![FloStone](https://avatars.githubusercontent.com/u/11897812?v=4)](https://github.com/FloStone "FloStone (1 commits)")

### Embed Badge

![Health badge](/badges/flostone-amazon/health.svg)

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

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[riclep/laravel-storyblok

A Laravel wrapper around the Storyblok API to provide a familiar experience for Laravel devs

6277.0k5](/packages/riclep-laravel-storyblok)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.1k1](/packages/jasara-php-amzn-selling-partner-api)[rapidez/core

Rapidez Core

1822.4k66](/packages/rapidez-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
