Skip to content

getyoti/yoti-php-sdk

Repository files navigation

Yoti PHP SDK

Build Status Coverage Bugs Code Smells Vulnerabilities

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

  1. Requirements - Check you have what you need

  2. Enabling the SDK - How to install our SDK

  3. Setup - Setup required before using the Yoti services

  4. Products - Links to more information about the products offered by the Yoti SDK

  5. Support - Please feel free to reach out

Requirements

  • PHP ^7.4 || ^8.0 || ^8.1
  • CURL PHP extension (must support TLSv1.2)

Recommended (optional)

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.3.1"
}

Or run this Composer command

$ composer require yoti/yoti-php-sdk "^4.3.1"

Setup

For each service you will need:

  • Your Client SDK ID, generated by Yoti Hub 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 when you create an application.

Products

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

  1. Yoti app integration - Connect with already-verified customers.
  2. Yoti Doc Scan - Identity verification embedded in your website or app.

Support

For any questions or support please contact us here: https://support.yoti.com 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 https://developers.yoti.com/yoti/welcome