PHPackages                             veriface/veriface - 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. veriface/veriface

ActiveLibrary

veriface/veriface
=================

Implements current VeriFace API

1.0(3y ago)06.8k↓42.1%11MITPHPPHP &gt;=7.4

Since Apr 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Rokan-Biometrics/veriface-php-sdk)[ Packagist](https://packagist.org/packages/veriface/veriface)[ RSS](/packages/veriface-veriface/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

VeriFace PHP SDK
================

[](#veriface-php-sdk)

Implements current VeriFace API

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

[](#requirements)

- PHP 7.4 or newer
- ext-curl
- ext-json

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

[](#installation)

Install the package via composer.

```
composer require veriface/veriface
```

Installation using archive:

- Download and extract archive file
- Include `VeriFace.autoload.php` to your project

Contributing
------------

[](#contributing)

Please contact us:

Usage
-----

[](#usage)

### Basic initialization

[](#basic-initialization)

```
$vf = veriface\VeriFace::byApiKey('INSERT_YOU_API_KEY');

//Will immediately die without exception on curl error, if false the veriface\VeriFaceApiException is thrown (default: false)
$vf->setDieOnCurlError(true);
```

### Create verification

[](#create-verification)

```
$created = $vf->createVerification('LINK_LONG');
$created->openCode;  //Redirect to verification application with the openCode parameter
$created->sessionId;  //Session ID of created verification
```

### Create verification with custom reference ID combined with email invitation

[](#create-verification-with-custom-reference-id-combined-with-email-invitation)

```
$created = $vf->createVerification('INVITE_EMAIL', null, null, null, 'primary_id_from_your_system',
    'example@example.org', null, [new veriface\dto\ExtendedReferenceDto('CUSTOMER_ID', 'test')]);
```

### Find verification by reference

[](#find-verification-by-reference)

There could be multiple verifications with the same reference.

```
$verifications = $vf->findVerificationsByExtendedReference('CUSTOMER_ID', 'test');
//or
$verifications = $vf->findVerificationsByReferenceId(primary_id_from_your_system);
//or
$verifications = $vf->findVerificationsByExtendedReference('PRIMARY', 'primary_id_from_your_system');
```

### Get verification details with localized indicators

[](#get-verification-details-with-localized-indicators)

```
$vf = veriface\VeriFace::byApiKey('INSERT_YOU_API_KEY');
$verification = $vf->getVerification('SESSION_ID', 'en_GB');
```

### Process webhook event

[](#process-webhook-event)

```
$eventResult = $vf->processVerificationWebhook(file_get_contents('php://input'));
$verification = $vf->getVerification($eventResult->sessionId, 'en_GB');
```

### Monitoring details

[](#monitoring-details)

```
$monitoringData = $vf->getVerificationMonitoringData('SESSION_ID');
```

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](LICENSE.txt) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

1138d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2c31012bcc8d489c959fb2e9e0bfd625ccb3ea6599602d290f66a1bbb6367b0d?d=identicon)[veriface](/maintainers/veriface)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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