PHPackages                             moneymaxim/trustpilot-authenticator - 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. moneymaxim/trustpilot-authenticator

ActiveLibrary[API Development](/categories/api)

moneymaxim/trustpilot-authenticator
===================================

A PHP library for obtaining Trustpilot API access tokens

v0.1.1(10y ago)151.6k↓50%7[1 PRs](https://github.com/moneymaxim/TrustpilotAuthenticator/pulls)2MITPHPPHP &gt;=5.5.0

Since Jan 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/moneymaxim/TrustpilotAuthenticator)[ Packagist](https://packagist.org/packages/moneymaxim/trustpilot-authenticator)[ RSS](/packages/moneymaxim-trustpilot-authenticator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (2)

Trustpilot Authenticator
========================

[](#trustpilot-authenticator)

[![Latest Stable Version](https://camo.githubusercontent.com/1889f1d3956a521732d3d28b0c726b383162319ab155321fea8f67cbe71e055c/68747470733a2f2f706f7365722e707567782e6f72672f6d6f6e65796d6178696d2f747275737470696c6f742d61757468656e74696361746f722f762f737461626c65)](https://packagist.org/packages/moneymaxim/trustpilot-authenticator)[![Total Downloads](https://camo.githubusercontent.com/b0b82ef6691246169d7a5a208ed979a8fbba36c5aa7e9e362e8857855d879dcf/68747470733a2f2f706f7365722e707567782e6f72672f6d6f6e65796d6178696d2f747275737470696c6f742d61757468656e74696361746f722f646f776e6c6f616473)](https://packagist.org/packages/moneymaxim/trustpilot-authenticator)[![License](https://camo.githubusercontent.com/dc1f836074857ab1be5d71d1051f0ccd09af0a4bcfb927c11b5af92ccf45a7a3/68747470733a2f2f706f7365722e707567782e6f72672f6d6f6e65796d6178696d2f747275737470696c6f742d61757468656e74696361746f722f6c6963656e7365)](https://packagist.org/packages/moneymaxim/trustpilot-authenticator)

A PHP library for obtaining [Trustpilot Business User API](https://developers.trustpilot.com/authentication) access tokens.

This library has been developed and open sourced by [moneymaxim](https://www.moneymaxim.co.uk).

We are currently on the look out for PHP programming talent, so please [get in touch](mailto:andrew.carter@moneymaxim.co.uk) if you are interested.

Install
-------

[](#install)

Install using [composer](https://getcomposer.org/):

```
composer install moneymaxim/trustpilot-authenticator
```

Usage
-----

[](#usage)

```
$authenticator = new Trustpilot\Api\Authenticator\Authenticator();

$accessToken = $authenticator->getAccessToken($apiKey, $apiToken, $username, $password);

// $accessToken->getToken(): string
// $accessToken->hasExpired(): bool
// $accessToken->getExpiry(): \DateTimeImmutable
// $accessToken->serialize(): string
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Total

2

Last Release

3764d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e7abce428a9dc9c76f4275ca8d8d11ad55138d72f3e3e2b01c6b2da5b479cc0?d=identicon)[AndrewCarterUK](/maintainers/AndrewCarterUK)

---

Top Contributors

[![AndrewCarterUK](https://avatars.githubusercontent.com/u/6486835?v=4)](https://github.com/AndrewCarterUK "AndrewCarterUK (1 commits)")

### Embed Badge

![Health badge](/badges/moneymaxim-trustpilot-authenticator/health.svg)

```
[![Health](https://phpackages.com/badges/moneymaxim-trustpilot-authenticator/health.svg)](https://phpackages.com/packages/moneymaxim-trustpilot-authenticator)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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