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

ActiveLibrary[API Development](/categories/api)

itspirit/trustpilot-authenticator
=================================

A PHP library for obtaining Trustpilot API access tokens

1.0.0(8y ago)05.5k25MITPHPPHP &gt;=5.5.0

Since Jan 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ITspirit/TrustpilotAuthenticator)[ Packagist](https://packagist.org/packages/itspirit/trustpilot-authenticator)[ RSS](/packages/itspirit-trustpilot-authenticator/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (5)Used By (5)

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

[](#trustpilot-authenticator)

[![Latest Stable Version](https://camo.githubusercontent.com/518764bbbfe930aeef0f2a290bbfb1737a1132cc97c0ae7439eb7fd4e59fc834/68747470733a2f2f706f7365722e707567782e6f72672f69747370697269742f747275737470696c6f742d61757468656e74696361746f722f762f737461626c65)](https://packagist.org/packages/itspirit/trustpilot-authenticator)[![Total Downloads](https://camo.githubusercontent.com/623c565199c9271ba73dc63faf33234d6a40ccfd904e47fe3a9a82e62ec78d82/68747470733a2f2f706f7365722e707567782e6f72672f69747370697269742f747275737470696c6f742d61757468656e74696361746f722f646f776e6c6f616473)](https://packagist.org/packages/itspirit/trustpilot-authenticator)[![License](https://camo.githubusercontent.com/653a2dc7ed8153f7458434e2365930602a541ebf03c78408ee7e16efd13ab9fc/68747470733a2f2f706f7365722e707567782e6f72672f69747370697269742f747275737470696c6f742d61757468656e74696361746f722f6c6963656e7365)](https://packagist.org/packages/itspirit/trustpilot-authenticator)

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

Install
-------

[](#install)

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

```
composer install itspirit/trustpilot-authenticator
```

Usage
-----

[](#usage)

```
$authenticator = new Trustpilot\Api\Authenticator\Authenticator($apiKey, $apiToken, $username, $password);

$accessToken = $authenticator->getAccessToken();

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

Tests
-----

[](#tests)

This package use Codeception for testing. To run the tests just type

```
vendor/bin/codecept run
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~174 days

Total

4

Last Release

3276d ago

Major Versions

0.2 → 1.0.02017-07-05

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2453696?v=4)[Michael Frank](/maintainers/ITspirit)[@ITspirit](https://github.com/ITspirit)

---

Top Contributors

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

###  Code Quality

TestsCodeception

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1772.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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