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
Requires
- php: ^7.4 | ^8.0
- ext-json: *
- guzzlehttp/guzzle: ^7.0
- retrochaos/trustpilot-authenticator: ^1.0
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