jeffersongoncalves/laravel-trustpilot
Laravel package for integrating Trustpilot into your application. Connect to the Trustpilot API to manage business units, retrieve reviews, and send review invitations through a clean, config-driven interface built for Laravel.
invitations() (email invitations, invitation links, templates) is the highest-leverage surface. It unlocks post-purchase or post-support-ticket invite flows as a config change, not a project — directly feeding review volume, which drives ratings and downstream SEO/seller-rating eligibility.businessUnits() (search, get, profile, categories, web links) plus reviews() public list/get/latest makes "show real Trustpilot reviews on PDP/marketing pages" a small, self-contained ticket rather than a data-pipeline initiative.reviews() private list + reply + delete reply enables a moderation/reply queue. This is a support-ops feature, not engineering work, and can be scheduled by the CX team rather than the platform team.tags() (get/add/remove) lets us standardize internal review categorization, which makes sentiment reporting comparable across business units and quarters.Adopt when all of the following hold:
1.0.0 dependency and treating it as a thin, replaceable adapter (wrap it behind our own interface rather than calling it from controllers and Blade templates).Look elsewhere — or plan to build the missing layer — when:
latest, which has cost and latency implications for a "reply within the hour" SLA.TrustpilotException, and the release notes describe no retry policy, backoff, or rate-limit handling. Fine for a dashboard; risky inside a checkout or order-confirmation path where a third-party outage could fail a customer-facing flow. Budget for a queue and our own retry wrapper.Maturity note: this is a first release. Expect surface-level gaps and breaking changes before 1.x stabilizes. Pin the version, and keep our usage behind a narrow internal interface so a swap or a fork stays cheap.
For executives (one paragraph): We can integrate Trustpilot into our product in days instead of weeks. This package gives us the four things that actually move the metric — showing reviews where customers decide, automatically inviting customers to review us after purchase or support, replying to reviews from our own admin tools, and segmenting by brand or region. That combination is what lifts review volume and star ratings, which in turn supports conversion and paid/organic visibility. Cost is one dependency; the risk is low and reversible because it's a thin wrapper we control.
For engineering: A Laravel-native Trustpilot client at 1.0.0 covering business units (search/get/profile/categories/web links), reviews (public list/get/latest, private list, reply, delete reply), invitations (email, links, templates), and tags. Auth is handled: API key for public endpoints, cached client-credentials bearer for private. One configurable default business unit. All non-2xx responses raise TrustpilotException.
Three things to plan around before we commit:
Recommendation: adopt for review display, invitations, and the reply workflow; treat it as a swappable adapter and avoid it on any latency-sensitive customer-critical path until it has a few releases behind it.
How can I help you explore Laravel packages today?