PHPackages                             alexeevdv/sumsub-client - 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. alexeevdv/sumsub-client

ActiveLibrary[API Development](/categories/api)

alexeevdv/sumsub-client
=======================

API client for sumsub.com

0.4.0(4y ago)352.2k↑119.5%7[1 issues](https://github.com/alexeevdv/sumsub-client/issues)1MITPHPPHP &gt;=7.1

Since Sep 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/alexeevdv/sumsub-client)[ Packagist](https://packagist.org/packages/alexeevdv/sumsub-client)[ RSS](/packages/alexeevdv-sumsub-client/feed)WikiDiscussions develop Synced 2d ago

READMEChangelog (4)Dependencies (6)Versions (6)Used By (1)

sumsub-client
=============

[](#sumsub-client)

[![PHP 7.1](https://camo.githubusercontent.com/89830e985e0a7f5f1ed58d412d81ee5bdccafb5dd5861eb9a6e63e44dde568b6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e312d677265656e2e737667)](https://camo.githubusercontent.com/89830e985e0a7f5f1ed58d412d81ee5bdccafb5dd5861eb9a6e63e44dde568b6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e312d677265656e2e737667)[![PHP 7.2](https://camo.githubusercontent.com/047bbe011ab372b4d00fc7ab0ed6f0d2a3db1ffda3a25de65f318dac100328ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e322d677265656e2e737667)](https://camo.githubusercontent.com/047bbe011ab372b4d00fc7ab0ed6f0d2a3db1ffda3a25de65f318dac100328ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e322d677265656e2e737667)[![PHP 7.3](https://camo.githubusercontent.com/ebdf47db6e91607cc8e1a8ea16f4a35122a068c1e3a23b9eb6c9932d602d28ff/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e332d677265656e2e737667)](https://camo.githubusercontent.com/ebdf47db6e91607cc8e1a8ea16f4a35122a068c1e3a23b9eb6c9932d602d28ff/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e332d677265656e2e737667)[![PHP 7.4](https://camo.githubusercontent.com/b210ffea32c265d0f07ade3bfc97b7c68f2a801193f6a17cd070dd76b87f1646/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e342d677265656e2e737667)](https://camo.githubusercontent.com/b210ffea32c265d0f07ade3bfc97b7c68f2a801193f6a17cd070dd76b87f1646/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e342d677265656e2e737667)[![PHP 8.0](https://camo.githubusercontent.com/88f6dc968896e54d607c5dcf1c638b25268d12576e91ba149afb56518ec04b50/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e302d677265656e2e737667)](https://camo.githubusercontent.com/88f6dc968896e54d607c5dcf1c638b25268d12576e91ba149afb56518ec04b50/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e302d677265656e2e737667)[![PHP 8.1](https://camo.githubusercontent.com/fce1492cd36b86256ad3768aca02bd7b73d7275452eb215fb3101ecf098825d6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312d677265656e2e737667)](https://camo.githubusercontent.com/fce1492cd36b86256ad3768aca02bd7b73d7275452eb215fb3101ecf098825d6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312d677265656e2e737667)

API client for sumsub.com

Installation
------------

[](#installation)

```
composer require alexeevdv/sumsub-client
```

Client configuration
--------------------

[](#client-configuration)

Client works with any [PSR-18 compatible HTTP client](https://packagist.org/providers/psr/http-client-implementation) and require [PSR-17 HTTP factory](https://packagist.org/providers/psr/http-factory-implementation).

```
use alexeevdv\SumSub\Client;
use alexeevdv\SumSub\Request\RequestSigner;

$requestSigner = new RequestSigner('Your APP token', 'Your secret');

$client = new Client(
    $psr18HttpClient,
    $psr17HttpFactory,
    $requestSigner
);
```

Getting SDKs access token
-------------------------

[](#getting-sdks-access-token)

```
use alexeevdv\SumSub\Request\AccessTokenRequest;

$externalUserId = 'some-id';
$levelName = 'some-level';
$ttlInSeconds = 3600;
$response = $client->getAccessToken(new AccessTokenRequest($externalUserId, $levelName, $ttlInSeconds));
$accessToken = $response->getToken();
```

Getting applicant data by applicant id
--------------------------------------

[](#getting-applicant-data-by-applicant-id)

```
use alexeevdv\SumSub\Request\ApplicantDataRequest;

$applicantId = 'some-id';
$response = $client->getApplicantData(new ApplicantDataRequest($applicantId));
$applicantData = $response->asArray();
```

Getting applicant data by external user id
------------------------------------------

[](#getting-applicant-data-by-external-user-id)

```
use alexeevdv\SumSub\Request\ApplicantDataRequest;

$externalUserId = 'some-id';
$response = $client->getApplicantData(new ApplicantDataRequest(null, $externalUserId));
$applicantData = $response->asArray();
```

Resetting an applicant
----------------------

[](#resetting-an-applicant)

```
use alexeevdv\SumSub\Request\ResetApplicantRequest;

$applicantId = 'some-id';
$client->resetApplicant(new ResetApplicantRequest($applicantId));
```

Getting applicant status
------------------------

[](#getting-applicant-status)

```
use alexeevdv\SumSub\Request\ApplicantStatusRequest;

$applicantId = 'some-id';
$response = $client->getApplicantStatus(new ApplicantStatusRequest($applicantId));
$applicantStatus = $response->asArray();
```

Getting document images
-----------------------

[](#getting-document-images)

```
use alexeevdv\SumSub\Request\DocumentImageRequest;

$inspectionId = 'some-id';
$imageId = '123';
$response = $client->getDocumentImages(new DocumentImageRequest($inspectionId, $imageId));
$stream = $response->asStream();
$conentType = $response->getContentType();
```

Getting inspection checks
-------------------------

[](#getting-inspection-checks)

```
use alexeevdv\SumSub\Request\InspectionChecksRequest;

$inspectionId = 'some-id';
$response = $client->getInspectionChecks(new InspectionChecksRequest($inspectionId));
$checksData = $response->asArray();
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~221 days

Total

4

Last Release

1463d ago

### Community

Maintainers

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

---

Top Contributors

[![alexeevdv](https://avatars.githubusercontent.com/u/597839?v=4)](https://github.com/alexeevdv "alexeevdv (24 commits)")[![sspat](https://avatars.githubusercontent.com/u/5153242?v=4)](https://github.com/sspat "sspat (6 commits)")[![goffyara](https://avatars.githubusercontent.com/u/9437632?v=4)](https://github.com/goffyara "goffyara (2 commits)")

###  Code Quality

TestsCodeception

Code StyleECS

### Embed Badge

![Health badge](/badges/alexeevdv-sumsub-client/health.svg)

```
[![Health](https://phpackages.com/badges/alexeevdv-sumsub-client/health.svg)](https://phpackages.com/packages/alexeevdv-sumsub-client)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[mollie/mollie-api-php

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

60216.0M85](/packages/mollie-mollie-api-php)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

1003.9M50](/packages/getbrevo-brevo-php)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)

PHPackages © 2026

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