Official PHP SDK for the TrustDPV API — trust scores, verification, and batch checks

Maintainers

Package info

github.com/trustdpv-hue/sdk-php

Homepage

pkg:composer/trustdpv/sdk

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-04-21 05:17 UTC

This package is auto-updated.

Last update: 2026-04-21 21:07:42 UTC


README

TrustDPV
TrustDPV PHP SDK

Portable trust for the internet
trustdpv.com · Docs · Packagist

packagist version packagist downloads license

Verify anyone's trust score in 3 lines of PHP.

TrustDPV gives people a portable trust profile - verified platforms, endorsements, and a 0-1000 trust score that follows them across marketplaces, communities, and platforms.

Install

composer require trustdpv/sdk

Quick Start

require_once 'vendor/autoload.php';

use TrustDPV\TrustDPV;

$tdpv = new TrustDPV(['apiKey' => 'tdpv_live_your_key_here']);

// Verify a user - get their trust score
$result = $tdpv->verify('trustdpv');
// { "valid": true, "username": "trustdpv", "trust_score": 660, "verified": true }

// Full profile with platforms and endorsements
$profile = $tdpv->profile('trustdpv');

// Batch verify up to 50 users at once
$batch = $tdpv->verifyBatch(['seller1', 'seller2', 'seller3']);

// Generate a badge URL for embedding
$badgeUrl = $tdpv->badgeUrl('trustdpv');
// https://trustdpv.com/badge/trustdpv.svg

API

Method Description Returns
verify($username) Lightweight trust check Verification result
profile($username) Full public profile Profile with platforms & endorsements
verifyBatch($usernames) Batch verify (max 50) Array of verification results
badgeUrl($username) SVG badge image URL string URL
profileUrl($username) Public profile page URL string URL
health() API health check { status, timestamp }

Rate Limits

Tier Requests/min Cost
Free 60 £0
Pro 1,000 Contact us
Enterprise 10,000 Contact us

Use Cases

  • Marketplace integration - Show trust badges on seller profiles
  • Community platforms - Verify user credibility before transactions
  • Freelance platforms - Portable reputation across job sites
  • Dating apps - Verify real identity

Links

License

MIT