PHPackages                             mikemiles86/bazaarvoice-conversations-api - 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-conversations-api

ActiveLibrary[API Development](/categories/api)

mikemiles86/bazaarvoice-conversations-api
=========================================

PHP Wrapper for the Bazaarvoice Conversations API

1.0.3(8y ago)060.5k↓20.3%1[1 PRs](https://github.com/mikemiles86/bazaarvoice-conversations-api/pulls)MITPHPPHP &gt;=5.5

Since May 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mikemiles86/bazaarvoice-conversations-api)[ Packagist](https://packagist.org/packages/mikemiles86/bazaarvoice-conversations-api)[ Docs](https://github.com/mikemiles86/bazaarvoice-conversations-api)[ RSS](/packages/mikemiles86-bazaarvoice-conversations-api/feed)WikiDiscussions master Synced 1mo ago

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

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

[](#bazaarvoice-request-library)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f842a7d43bd5e5bf8dbf931a922810ef0fed6e85ded294dc765c406bef5779cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696b656d696c657338362f62617a616172766f6963652d636f6e766572736174696f6e732d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mikemiles86/bazaarvoice-conversations-api)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/6aff3d6c814b8c95cd3adc1d6d0d8c42ee9c3b17641924ea51d9a32b7ce04485/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d696b656d696c657338362f62617a616172766f6963652d636f6e766572736174696f6e732d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mikemiles86/bazaarvoice-conversations-api)

PHP Wrapper for the [Bazaarvoice Conversations API](https://developer.bazaarvoice.com/conversations-api)

Install
-------

[](#install)

Via Composer

```
$ composer require mikemiles86/bazaarvoice-conversations-api
```

Usage
-----

[](#usage)

### Creating a Conversations Object

[](#creating-a-conversations-object)

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

$conversations_wrapper = new \BazaarvoiceConversations\BazaarvoiceConversations($bazaarvoice_request);
```

### Content Types

[](#content-types)

All [conversation API content types](https://developer.bazaarvoice.com/conversations-api#supported-content-types) are supported.

Depending on the specific content type, data can be retrieved and sent to Bazaarvoice.

#### Get wrapper for Reviews content type.

[](#get-wrapper-for-reviews-content-type)

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

$conversations_wrapper = new \BazaarvoiceConversations\BazaarvoiceConversations($bazaarvoice_request);

$reviews_wrapper = $conversations_wrapper->getContentType('Reviews');
```

#### Make a raw request

[](#make-a-raw-request)

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

$conversations_wrapper = new \BazaarvoiceConversations\BazaarvoiceConversations($bazaarvoice_request);

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

### Retrieve Content

[](#retrieve-content)

#### Retrieve content for Content Type by Id.

[](#retrieve-content-for-content-type-by-id)

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

$conversations_wrapper = new \BazaarvoiceConversations\BazaarvoiceConversations($bazaarvoice_request);

$reviews_wrapper = $conversations_wrapper->getContentType('Reviews');

$review = $reviews_wrapper->getResultById('review_1234');
```

#### Retrieve content for Content Type by other parameters

[](#retrieve-content-for-content-type-by-other-parameters)

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

$conversations_wrapper = new \BazaarvoiceConversations\BazaarvoiceConversations($bazaarvoice_request);

$reviews_wrapper = $conversations_wrapper->getContentType('Reviews');

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

$response = $reviews_wrapper->retrieveRequest($configuration);

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

### Submit Content

[](#submit-content)

#### Get Submission Form

[](#get-submission-form)

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

$conversations_wrapper = new \BazaarvoiceConversations\BazaarvoiceConversations($bazaarvoice_request);

$reviews_wrapper = $conversations_wrapper->getContentType('Reviews');

$reviews_submit_form = $reviews_wrapper->getSubmissionForm();
```

#### Preview Submission

[](#preview-submission)

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

$conversations_wrapper = new \BazaarvoiceConversations\BazaarvoiceConversations($bazaarvoice_request);

$reviews_wrapper = $conversations_wrapper->getContentType('Reviews');

$submission_data = [
  'Rating' => 5,
  'ReviewText' => 'This is my Review',
];

$reviews_wrapper->previewSubmission($submission_data);
```

#### Submit Submission

[](#submit-submission)

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

$conversations_wrapper = new \BazaarvoiceConversations\BazaarvoiceConversations($bazaarvoice_request);

$reviews_wrapper = $conversations_wrapper->getContentType('Reviews');

$submission_data = [
  'Rating' => 5,
  'ReviewText' => 'This is my Review',
];

$reviews_wrapper->submitSubmission($submission_data);
```

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

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

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

Total

4

Last Release

3234d 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 (1 commits)")

---

Tags

bazaarvoice

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)[lstrojny/fxmlrpc

Fast and tiny XML/RPC client with bridges for various HTTP clients

1425.4M30](/packages/lstrojny-fxmlrpc)

PHPackages © 2026

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