PHPackages                             mikemiles86/bazaarvoice-request - 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. mikemiles86/bazaarvoice-request

ActiveLibrary[API Development](/categories/api)

mikemiles86/bazaarvoice-request
===============================

PHP library for making requests to Bazaarvoice API.

1.0.4(3y ago)063.4k↓31%2[2 issues](https://github.com/mikemiles86/bazaarvoice-request/issues)[1 PRs](https://github.com/mikemiles86/bazaarvoice-request/pulls)1MITPHPPHP &gt;=5.5

Since May 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mikemiles86/bazaarvoice-request)[ Packagist](https://packagist.org/packages/mikemiles86/bazaarvoice-request)[ Docs](https://github.com/mikemiles86/bazaarvoice-request)[ RSS](/packages/mikemiles86-bazaarvoice-request/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (7)Used By (1)

bazaarvoice-request
===================

[](#bazaarvoice-request)

PHP library for making requests to Bazaarvoice APIs

Bazaarvoice Request Library
===========================

[](#bazaarvoice-request-library)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b8b2af89762c8f619473ec3906ef78e25d2e5f3a92e12501de687572bb45f051/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696b656d696c657338362f62617a616172766f6963652d726571756573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mikemiles86/bazaarvoice-request)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/fc0dfbf3606727a0d1f54bbca6b4dc29c21a2cf074d1fc91d830d9c5217ccc58/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d696b656d696c657338362f62617a616172766f6963652d726571756573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mikemiles86/bazaarvoice-request)

PHP library for making requests to [Bazaarvoice APIs](https://developer.bazaarvoice.com/apis) and handling responses.

Install
-------

[](#install)

Via Composer

```
$ composer require mikemiles86/bazaarvoice-request
```

Usage
-----

[](#usage)

### Creating a Request

[](#creating-a-request)

```
$client = new \GuzzleHttp\Client();
$api_key = '12345abcd';
$bazaarvoice_request = new \BazaarvoiceRequest\BazaarvoiceRequest($client, $api_key);
```

### Making a request

[](#making-a-request)

```
$client = new \GuzzleHttp\Client();
$api_key = '12345abcd';
$bazaarvoice_request = new \BazaarvoiceRequest\BazaarvoiceRequest($client, $api_key);

$reviews = $bazaarvoice_request->apiRequest('data/reviews');
```

#### Making a staging request

[](#making-a-staging-request)

```
$client = new \GuzzleHttp\Client();
$api_key = '12345abcd';
$bazaarvoice_request = new \BazaarvoiceRequest\BazaarvoiceRequest($client, $api_key);

$reviews = $bazaarvoice_request->useStage()->apiRequest('data/reviews');
```

#### Making a request with additional configurations

[](#making-a-request-with-additional-configurations)

```
$client = new \GuzzleHttp\Client();
$api_key = '12345abcd';
$bazaarvoice_request = new \BazaarvoiceRequest\BazaarvoiceRequest($client, $api_key);

$configuration = [
  'method' => 'POST',
  'options' => [
    'headers' => [
      'X-Forwarded-For' => '127.0.0.1',
    ],
  ],
];

$reviews = $bazaarvoice_request->apiRequest('data/reviews', $configuration);
```

```
$client = new \GuzzleHttp\Client();
$api_key = '12345abcd';
$bazaarvoice_request = new \BazaarvoiceRequest\BazaarvoiceRequest($client, $api_key);

$configuration = [
  'arguments' => [
    'ProductId' => 'my_product_123',
   ],
];

$product_reviews = $bazaarvoice_request->->apiRequest('data/reviews', $configuration);
```

### Get values from a response

[](#get-values-from-a-response)

```
$client = new \GuzzleHttp\Client();
$api_key = '12345abcd';
$bazaarvoice_request = new \BazaarvoiceRequest\BazaarvoiceRequest($client, $api_key);

$response = $bazaarvoice_request->useStage()->apiRequest('data/reviews');

$reviews = $response->getResponse('Results');
```

#### Get errors from a response

[](#get-errors-from-a-response)

```
$client = new \GuzzleHttp\Client();
$api_key = '12345abcd';
$bazaarvoice_request = new \BazaarvoiceRequest\BazaarvoiceRequest($client, $api_key);

$response = $bazaarvoice_request->useStage()->apiRequest('data/reviews');

if ($response->getStatusCode() != '200' || $response->hasErrors()) {
  $errors = $response->getErrors();
}
```

Testing
-------

[](#testing)

```
$ composer test
```

Credits
-------

[](#credits)

- [Mike Miles](https://github.com/mikemiles86)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~481 days

Total

5

Last Release

1409d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8368b5790fd7adca25e93e06988a6c7fce33aef6fc3f382b3e9c84c80bab41b2?d=identicon)[mikemiles86](/maintainers/mikemiles86)

---

Top Contributors

[![mikemiles86](https://avatars.githubusercontent.com/u/196745?v=4)](https://github.com/mikemiles86 "mikemiles86 (2 commits)")[![mglaman](https://avatars.githubusercontent.com/u/3698644?v=4)](https://github.com/mglaman "mglaman (1 commits)")

---

Tags

bazaarvoice

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mikemiles86-bazaarvoice-request/health.svg)

```
[![Health](https://phpackages.com/badges/mikemiles86-bazaarvoice-request/health.svg)](https://phpackages.com/packages/mikemiles86-bazaarvoice-request)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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