PHPackages                             yoonik/face-api - 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. yoonik/face-api

ActiveLibrary[API Development](/categories/api)

yoonik/face-api
===============

Functionalities for biometric processing (detection, verification and identification) for Youverse.Face.

v1.0.5(3y ago)04.1k↓50%MITPHPPHP &gt;=5.5

Since Dec 9Pushed 3y ago2 watchersCompare

[ Source](https://github.com/dev-yoonik/YK-Face-SDK-PHP)[ Packagist](https://packagist.org/packages/yoonik/face-api)[ Docs](https://yoonik.me/)[ RSS](/packages/yoonik-face-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (9)Used By (0)

[![https://yk-website-images.s3.eu-west-1.amazonaws.com/LogoV4_TRANSPARENT.png](https://camo.githubusercontent.com/e4ed184b9ee83e72c4291dea13e8f009bbdcfbc58800dcb9c8574c3c8ab117a4/68747470733a2f2f796b2d776562736974652d696d616765732e73332e65752d776573742d312e616d617a6f6e6177732e636f6d2f4c6f676f56345f5452414e53504152454e542e706e67)](https://camo.githubusercontent.com/e4ed184b9ee83e72c4291dea13e8f009bbdcfbc58800dcb9c8574c3c8ab117a4/68747470733a2f2f796b2d776562736974652d696d616765732e73332e65752d776573742d312e616d617a6f6e6177732e636f6d2f4c6f676f56345f5452414e53504152454e542e706e67)

Youverse Face API Client SDK PHP
================================

[](#youverse-face-api-client-sdk-php)

[![License](https://camo.githubusercontent.com/a71026d7883ca11b3f312be95234fbe978739df2312965369808d57b9310d255/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6465762d796f6f6e696b2f594b2d466163652d53444b2d504850)](https://github.com/dev-yoonik/YK-Face-SDK-PHP/blob/master/LICENSE)[![Version](https://camo.githubusercontent.com/a3962d2b4a3fa22fe5c9cf68ab47467a1b1cd132a0072c8ea4a6f2b178a73976/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6465762d796f6f6e696b2f594b2d466163652d53444b2d5048503f646973706c61795f6e616d653d746167)](https://github.com/dev-yoonik/YK-Face-SDK-PHP)

This repository implements an integration SDK to facilitate the consumption of the Youverse.Face API, an [Youverse Services](https://youverse.id) offering.

For more information please [contact us](mailto:tech@youverse.id).

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

[](#requirements)

PHP 5.5 and later

Getting Started
---------------

[](#getting-started)

```
composer require youverse/face-api

```

Example
-------

[](#example)

Verifies the faces similarity between two images in base 64

```
require dirname(__DIR__) . '/vendor/autoload.php';

$apiKey = "YOUR-X-API-KEY";
$baseUrl = "YOUR-API-ENDPOINT";
$image1 = "";
$image2 = "";

$client = new Youverse\Face\Client\Face(
    $apiKey,
    $baseUrl
);

$payload = new Youverse\Face\Model\VerifyImages();

//convert image 1 to base64
$img = file_get_contents($image1);
$imgdata = base64_encode($img);
$payload->setFirstImage($imgdata);

//convert image 2 to base64
$img = file_get_contents($image2);
$imgdata = base64_encode($img);
$payload->setSecondImage($imgdata);

try {
    $result = $client->verifyImages($payload);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FaceApi->verifyImages: ', $e->getMessage(), PHP_EOL;
}

```

If you're interested in using Youverse.Face API for identification purposes, please visit our [examples](https://github.com/dev-yoonik/YK-Face-SDK-PHP/tree/main/examples).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.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 ~63 days

Recently: every ~69 days

Total

6

Last Release

1302d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e2d4d89674e210dce23a996659d41ecccde1c9a6c5e7f2078621498bdee73924?d=identicon)[dev-yoonik](/maintainers/dev-yoonik)

---

Top Contributors

[![nunogbatista](https://avatars.githubusercontent.com/u/58984983?v=4)](https://github.com/nunogbatista "nunogbatista (8 commits)")[![dev-yoonik](https://avatars.githubusercontent.com/u/69840985?v=4)](https://github.com/dev-yoonik "dev-yoonik (1 commits)")

---

Tags

phpapisdkYoonikFace Authentication

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/yoonik-face-api/health.svg)

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)[php-opencloud/openstack

PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

2292.2M24](/packages/php-opencloud-openstack)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

574.7M21](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)

PHPackages © 2026

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