PHPackages                             yoti/yoti-php-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. [API Development](/categories/api)
4. /
5. yoti/yoti-php-sdk

ActiveLibrary[API Development](/categories/api)

yoti/yoti-php-sdk
=================

Yoti SDK for quickly integrating your PHP backend with Yoti

4.5.1(2mo ago)28578.9k↓54.7%21[5 issues](https://github.com/getyoti/yoti-php-sdk/issues)[23 PRs](https://github.com/getyoti/yoti-php-sdk/pulls)1MITPHPPHP ^8.1CI passing

Since Nov 11Pushed 4d ago7 watchersCompare

[ Source](https://github.com/getyoti/yoti-php-sdk)[ Packagist](https://packagist.org/packages/yoti/yoti-php-sdk)[ Docs](https://yoti.com)[ RSS](/packages/yoti-yoti-php-sdk/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (42)Versions (195)Used By (1)

Yoti PHP SDK
============

[](#yoti-php-sdk)

[![Build Status](https://github.com/getyoti/yoti-php-sdk/workflows/Unit%20Tests/badge.svg?branch=master)](https://github.com/getyoti/yoti-php-sdk/actions)[![Coverage](https://camo.githubusercontent.com/4bb3f399d72db6384dba8bdf185663fd637e62f27d5bdf191dcac2ea2f64e64c/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d676574796f7469253341706870266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=getyoti%3Aphp)[![Bugs](https://camo.githubusercontent.com/416db4a4b4fdc2a585fa4b40db47e8bca84f0267c48056d1eb307aa80961f4bb/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d676574796f7469253341706870266d65747269633d62756773)](https://sonarcloud.io/dashboard?id=getyoti%3Aphp)[![Code Smells](https://camo.githubusercontent.com/912d91494b0f1023d639c44385d36b4aa282013779cc0c7dc8e8cb8e5b7aa4cd/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d676574796f7469253341706870266d65747269633d636f64655f736d656c6c73)](https://sonarcloud.io/dashboard?id=getyoti%3Aphp)[![Vulnerabilities](https://camo.githubusercontent.com/50cfce7102c922885f15afae5c40ed5fc0de8f9f3631ca9f3c539cd44303987b/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d676574796f7469253341706870266d65747269633d76756c6e65726162696c6974696573)](https://sonarcloud.io/dashboard?id=getyoti%3Aphp)

Welcome to the Yoti PHP SDK. This repo contains the tools you need to quickly integrate your PHP back-end with Yoti, so that your users can share their identity details with your application in a secure and trusted way.

Table of Contents
-----------------

[](#table-of-contents)

1. [Requirements](#requirements) - Check you have what you need
2. [Enabling the SDK](#enabling-the-sdk) - How to install our SDK
3. [Setup](#setup) - Setup required before using the Yoti services
4. [Products](#products) - Links to more information about the products offered by the Yoti SDK
5. [Support](#support) - Please feel free to reach out

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

[](#requirements)

- PHP ^8.1
- CURL PHP extension (must support TLSv1.2)

> **Breaking change:** this SDK release supports PHP 8.1 and above only. Support for PHP 7.4 and PHP 8.0 has been removed. If you are still running on PHP 7.4/8.0, please remain on an earlier SDK version until you can upgrade your runtime.

### Recommended (optional)

[](#recommended-optional)

- [Protobuf C extension](https://github.com/protocolbuffers/protobuf/tree/master/php) (PHP package will be used by default)

Enabling the SDK
----------------

[](#enabling-the-sdk)

To import the Yoti SDK inside your project, you can use your favourite dependency management system. If you are using Composer, you need to do one of the following:

Add the Yoti SDK dependency:

```
"require": {
    "yoti/yoti-php-sdk" : "^4.5.1"
}
```

Or run this Composer command

```
$ composer require yoti/yoti-php-sdk "^4.5.1"
```

Setup
-----

[](#setup)

For each service you will need:

- Your Client SDK ID, generated by [Yoti Hub](https://hub.yoti.com) when you create (and then publish) your app.
- Your .pem file. This is your own unique private key which your browser generates from the [Yoti Hub](https://hub.yoti.com) when you create an application.

Products
--------

[](#products)

The Yoti SDK can be used for the following products, follow the links for more information about each:

1. [Yoti app integration](/docs/PROFILE.md) - Connect with already-verified customers.
2. [Yoti Doc Scan](/docs/DOCSCAN.md) - Identity verification embedded in your website or app.

Support
-------

[](#support)

For any questions or support please contact us here: Please provide the following to get you up and working as quickly as possible:

- Computer type
- OS version
- Version of PHP being used
- Screenshot

Once we have answered your question we may contact you again to discuss Yoti products and services. If you’d prefer us not to do this, please let us know when you e-mail.

For further documentation, see

###  Health Score

69

—

FairBetter than 100% of packages

Maintenance91

Actively maintained with recent releases

Popularity49

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity91

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 61.9% 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 ~69 days

Recently: every ~103 days

Total

51

Last Release

61d ago

Major Versions

1.2.1 → 2.0.02019-01-22

1.2.2 → 2.3.02019-09-09

2.5.1 → 3.0.02020-02-17

3.9.1 → 4.0.02022-09-06

3.9.2 → 4.1.02022-11-01

PHP version history (7 changes)1.0.0PHP &gt;=5.6.0

1.2.0PHP &gt;=5.5.19

3.0.0PHP ^7.1

3.5.0PHP ^7.1 || ^8.0

4.1.0PHP ^7.4 || ^8.0 || ^8.1

4.4.1PHP ^7.4 || ^8.0 || ^8.1 || ^8.4

4.5.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![davidgrayston](https://avatars.githubusercontent.com/u/1229335?v=4)](https://github.com/davidgrayston "davidgrayston (428 commits)")[![mehmet-yoti](https://avatars.githubusercontent.com/u/111424390?v=4)](https://github.com/mehmet-yoti "mehmet-yoti (83 commits)")[![LuborRod](https://avatars.githubusercontent.com/u/53628474?v=4)](https://github.com/LuborRod "LuborRod (78 commits)")[![echarrod](https://avatars.githubusercontent.com/u/1381991?v=4)](https://github.com/echarrod "echarrod (33 commits)")[![simonyoti](https://avatars.githubusercontent.com/u/20813587?v=4)](https://github.com/simonyoti "simonyoti (22 commits)")[![sidibos](https://avatars.githubusercontent.com/u/3317034?v=4)](https://github.com/sidibos "sidibos (18 commits)")[![nikhilPank](https://avatars.githubusercontent.com/u/49190426?v=4)](https://github.com/nikhilPank "nikhilPank (10 commits)")[![MrBurtyyy](https://avatars.githubusercontent.com/u/3179463?v=4)](https://github.com/MrBurtyyy "MrBurtyyy (6 commits)")[![xchangebit](https://avatars.githubusercontent.com/u/922968?v=4)](https://github.com/xchangebit "xchangebit (6 commits)")[![KiranBali](https://avatars.githubusercontent.com/u/26406329?v=4)](https://github.com/KiranBali "KiranBali (3 commits)")[![emmas-yoti](https://avatars.githubusercontent.com/u/52929061?v=4)](https://github.com/emmas-yoti "emmas-yoti (1 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![tyloo](https://avatars.githubusercontent.com/u/611035?v=4)](https://github.com/tyloo "tyloo (1 commits)")[![zarembas](https://avatars.githubusercontent.com/u/1636476?v=4)](https://github.com/zarembas "zarembas (1 commits)")

---

Tags

2faamlidentityloginmultifactor-authenticationphpregistersdkverificationyotisdkyoti

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M576](/packages/shopware-core)

PHPackages © 2026

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