retrochaos/trustpilot-business-unit-api

PHP integration with the Trustpilot Business Unit API

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 3

pkg:composer/retrochaos/trustpilot-business-unit-api

1.0.0 2024-02-20 11:10 UTC

This package is auto-updated.

Last update: 2025-12-18 15:43:44 UTC


README

A PHP library for accessing the Trustpilot Business Unit API.

Originally developed and open-sourced by moneymaxim.

Fully modernised to:

  • Use Symfony HTTP Client
  • Provide type-safe error handling

Install

Install using Composer:

composer install retrochaos/trustpilot-business-unit-api

Usage

$client = new Trustpilot\Api\BusinessUnit\Client($apiKey);

// $client->find($domain): array
// $client->get($businessUnitId): array
// $client->getReviews($businessUnitId): array
// $client->getReviews($businessUnitId, ['perPage' => 5, 'page' => 2]): array