Search by

omnireview / trustpilot

GlitchArt

Omnireview Trustpilot: a business unit's TrustScore and reviews, the links to its profile and to review it, replying and inviting customers with the business user's token; Trustpilot's 24-hour refresh declared.

1.x-dev 2026-10-26 05:24 UTC

This package is auto-updated.

Last update: 2026-10-26 10:05:40 UTC


README

Trustpilot for omnisense/omnireview: a business unit's TrustScore, its number of reviews, its reviews and the links to its profile and to write one; with a business user's access, replying to a review and inviting a customer to write one.

use Omnireview\Trustpilot\TrustpilotGatewayFactory;

$gateway = (new TrustpilotGatewayFactory($httpClient))->create(['api_key' => getenv('TRUSTPILOT_API_KEY')]);

$unit = $gateway->find('www.maison-erable.example');  // once: keep its ID
$gateway->rating($unit);                              // the TrustScore, the number of reviews, the profile
$gateway->reviews($unit, 10);
$gateway->writeUrl($unit);                            // the profile's evaluate link

Written from Trustpilot's developer documentation, read on 2026-10-08. Not verified in real: no key.

Documentation: the options, the calls, Trustpilot's terms, what was verified.

Responsibility

This package is an independent, unofficial client: it is not affiliated with, endorsed by or sponsored by Trustpilot A/S. It reaches their service on behalf of whoever runs it, and it does not redistribute their data beyond the short excerpts recorded as test fixtures. Its MIT licence covers this package's code only and grants no right to the service or to its data.

Whoever installs and runs this package is responsible for complying with Trustpilot's terms (Terms of Use and Sale for Businesses), for obtaining whatever they require (an account, a key, a licence or subscription, an attribution or a citation, a rate limit to respect), and for any use made of what it returns. The authors publish it free of charge, make no commercial use of it, and accept no liability for how it is used (see LICENSE).

License: MIT since 2026-10-09; earlier versions remain published under LGPL-3.0-or-later.