PHPackages                             worksome/laravel-onfido - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. worksome/laravel-onfido

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

worksome/laravel-onfido
=======================

A Laravel wrapper for the Onfido PHP client

v6.4.0(2mo ago)1389.5k↑35.1%1MITPHPPHP ^8.4CI passing

Since May 9Pushed 2mo ago6 watchersCompare

[ Source](https://github.com/worksome/laravel-onfido)[ Packagist](https://packagist.org/packages/worksome/laravel-onfido)[ RSS](/packages/worksome-laravel-onfido/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (16)Versions (12)Used By (0)

Onfido Laravel
==============

[](#onfido-laravel)

A Laravel wrapper for the Onfido PHP API Client.

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

[](#installation)

Install using composer:

```
composer require worksome/laravel-onfido
```

Publish the configuration file with the following command:

```
php artisan vendor:publish --provider "Worksome\Onfido\OnfidoServiceProvider"
```

Configuration
-------------

[](#configuration)

Remember to add your Onfido API key to your `.env` file.

```
ONFIDO_API_KEY=api_sandbox.ABC...
```

Usage
-----

[](#usage)

I would always encourage anyone to use the official PHP package as reference, and this is simply a Laravel wrapper. However, I will provide an example on how to create an applicant.

Remember to import the Onfido facade, by adding `use Worksome\Onfido\Facades\Onfido;` at the top of your file.

To create an applicant and send a check:

```
use Onfido\Model\ApplicantBuilder;
use Onfido\Model\CheckBuilder;
use Worksome\Onfido\Facades\Onfido;

$applicant = Onfido::createApplicant(new ApplicantBuilder([
    'first_name' => 'John',
    'last_name' => 'Doe',
    'email' => 'johndoe@example.org',
]));

$onfidoCheck = Onfido::createCheck(new CheckBuilder([
    'applicant_id' => $applicant['id'],
    'report_names' => ['right_to_work'],
    'applicant_provides_data' => true,
]));
```

The above is all that is required to create an applicant and send the applicant a right to work check via Onfido.

You can then consult the results of the applicant or check:

```
/** @var \Onfido\Model\ApplicantResponse $applicant */
$applicant->getId();

/** @var \Onfido\Model\CheckResponse $onfidoCheck */
$onfidoCheck->getId();

// The responses can also be accessed as an arrayable.
$applicant['id'];
$onfidoCheck['id'];
$onfidoCheck['status'];
$onfidoCheck['form_uri'];
```

To see all possible return data check the [official PHP package documentation](https://github.com/onfido/onfido-php).

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance85

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 68.6% 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 ~155 days

Recently: every ~141 days

Total

10

Last Release

77d ago

Major Versions

v5.5.0 → v6.0.02024-08-15

PHP version history (4 changes)v5.2.0PHP ^7.1.3 || ^8.0

v5.3.0PHP ^8.2

v6.2.0PHP ^8.3

v6.3.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/60a2011650eb5b244f5172332dfa44483828f6c56d74f2794c3da65a8d69986e?d=identicon)[andrevalentin](/maintainers/andrevalentin)

![](https://www.gravatar.com/avatar/10bbe1cbea253f250b899d5704fbe59fc91ee40b14c017527409482187f365a1?d=identicon)[odinns](/maintainers/odinns)

---

Top Contributors

[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (24 commits)")[![lukeraymonddowning](https://avatars.githubusercontent.com/u/12202279?v=4)](https://github.com/lukeraymonddowning "lukeraymonddowning (7 commits)")[![andrevalentin](https://avatars.githubusercontent.com/u/4482448?v=4)](https://github.com/andrevalentin "andrevalentin (3 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (1 commits)")

---

Tags

hacktoberfestlaravelidentityonfido

###  Code Quality

TestsPest

Static AnalysisPHPStan

### Embed Badge

![Health badge](/badges/worksome-laravel-onfido/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42542.0M544](/packages/socialiteproviders-manager)[olssonm/l5-very-basic-auth

Laravel stateless HTTP basic auth without the need for a database

1662.5M1](/packages/olssonm-l5-very-basic-auth)[scaler-tech/laravel-saml2

SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit

2737.5k](/packages/scaler-tech-laravel-saml2)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)[pschocke/laravel-telegram-login-widget

Easily integrate Telegrams login widget into your Laravel application to send Telegram messages

1610.4k](/packages/pschocke-laravel-telegram-login-widget)

PHPackages © 2026

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