PHPackages                             onfido/api-php-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. [HTTP &amp; Networking](/categories/http)
4. /
5. onfido/api-php-client

Abandoned → [onfido/onfido-php](/?search=onfido%2Fonfido-php)Library[HTTP &amp; Networking](/categories/http)

onfido/api-php-client
=====================

The Onfido Public API (v3.6)

10.0.0(2mo ago)202.0M↓11.3%28[5 issues](https://github.com/onfido/onfido-php/issues)1MITPHPPHP ^8.1CI passing

Since Jan 31Pushed 2mo ago22 watchersCompare

[ Source](https://github.com/onfido/onfido-php)[ Packagist](https://packagist.org/packages/onfido/api-php-client)[ Docs](https://documentation.onfido.com)[ RSS](/packages/onfido-api-php-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (63)Used By (1)

Onfido PHP Library
==================

[](#onfido-php-library)

The official PHP library for integrating with the Onfido API.

Documentation can be found at .

This version uses Onfido API v3.6. Refer to our [API versioning guide](https://developers.onfido.com/guide/api-versioning-policy#client-libraries) for details of which client library versions use which versions of the API.

Installation &amp; Usage
------------------------

[](#installation--usage)

### Requirements

[](#requirements)

PHP 8.1 and later.

[![Latest release](https://camo.githubusercontent.com/a7469ddad9bef8d459fc83729d3bb48d9276c97c70ff02787506e7b71b3e602c/68747470733a2f2f62616467652e667572792e696f2f70682f6f6e6669646f2532466f6e6669646f2d7068702e737667)](https://badge.fury.io/ph/onfido%2Fonfido-php)[![Build Status](https://github.com/onfido/onfido-php/actions/workflows/php.yml/badge.svg)](https://github.com/onfido/onfido-php/actions/workflows/php.yml/badge.svg)

### Installation

[](#installation)

#### Composer

[](#composer)

To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/onfido/onfido-php.git"
    }
  ],
  "require": {
    "onfido/onfido-php": "*@dev"
  }
}
```

Then run `composer install`

#### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
