PHPackages                             thirdfactor/sdk - 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. thirdfactor/sdk

ActiveLibrary

thirdfactor/sdk
===============

Official server-side SDK for ThirdFactor

v0.1.0(1mo ago)00MITPHPPHP &gt;=8.1CI passing

Since Jul 12Pushed 1mo agoCompare

[ Source](https://github.com/thirdfactorai/thirdfactor-php)[ Packagist](https://packagist.org/packages/thirdfactor/sdk)[ Docs](https://thirdfactor.ai)[ RSS](/packages/thirdfactor-sdk/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

ThirdFactor PHP
===============

[](#thirdfactor-php)

```
composer require thirdfactor/sdk
```

```
require __DIR__ . '/vendor/autoload.php';

use ThirdFactor\Client;

$tf = new Client(
    getenv('THIRDFACTOR_API_KEY'),
    getenv('THIRDFACTOR_BASE_URL') ?: 'https://api.thirdfactor.ai',
);
$session = $tf->createSession([
    'vendor_data' => 'user-42',
    'callback_url' => 'https://example.com/kyc/done',
], 'kyc-user-42');
```

The client uses PHP streams and requires no HTTP-framework dependency. Use `ThirdFactor\Webhooks::constructEvent()` on the untouched request body.

Requirements
------------

[](#requirements)

- PHP 8.1 or newer
- JSON extension
- No HTTP-client framework dependency

Development
-----------

[](#development)

```
composer validate --strict
composer test
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

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

Unknown

Total

1

Last Release

50d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b26c4e719f47e30f8ace89bd3e166aa405bcae656373d45abd12fac226c45c9e?d=identicon)[thirdfactorai](/maintainers/thirdfactorai)

---

Tags

sdkidentityverificationkycthirdfactor

### Embed Badge

![Health badge](/badges/thirdfactor-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/thirdfactor-sdk/health.svg)](https://phpackages.com/packages/thirdfactor-sdk)
```

###  Alternatives

[virgil/sdk

Virgil is a stack of security libraries (ECIES with Crypto Agility wrapped in Virgil Cryptogram) and all the necessary infrastructure to enable seamless, end-to-end encryption for any application, platform or device. See below for currently available languages and platforms. Get in touch with us to get preview access to our key infrastructure.

1018.2k](/packages/virgil-sdk)

PHPackages © 2026

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