PHPackages                             tinfot/faceplusplus - 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. tinfot/faceplusplus

ActiveLibrary[API Development](/categories/api)

tinfot/faceplusplus
===================

Face Plus Plus For Laravel

v0.2.0(6y ago)376MITPHPPHP &gt;=7.1CI failing

Since Oct 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/tinfot/faceplusplus)[ Packagist](https://packagist.org/packages/tinfot/faceplusplus)[ RSS](/packages/tinfot-faceplusplus/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

Face plus plus SDK for Laravel 5
================================

[](#face-plus-plus-sdk-for-laravel-5)

---

[![License](https://camo.githubusercontent.com/7c199f57a2e2c68bb14e188faf5c1b1a7a3f021cb9b724f5a2ad6cbd05b8408a/68747470733a2f2f706f7365722e707567782e6f72672f6d616174776562736974652f657863656c2f6c6963656e73652e706e67)](https://packagist.org/packages/tinfot/faceplusplus)

Need register account on the Face ++ website. [SDK document](https://www.faceplusplus.com/), Get the `API_KEY` &amp; `API_SECRET`.

[![](./assets/get_api_key.png)](./assets/get_api_key.png)

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

[](#installation)

Require this package in your composer.json and update composer.

```
composer require tinfot/faceplusplus
```

Usage
-----

[](#usage)

#### 1. Provider config file. `faceplusplus.php`

[](#1-provider-config-file-faceplusplusphp)

```
php artisan vendor:publish --provider="Tinfot\Faceplusplus\FaceplusplusServiceProvider"
```

#### 2. Enter your `APPKEY` and `APPSECRET`

[](#2-enter-your-appkey-and-appsecret)

```
FPP_BASE_URL=https://api-cn.faceplusplus.com # If your location in china.
# FPP_BASE_URL=https://api-us.faceplusplus.com # Or other location.

FPP_API_KEY=xxxx
FPP_API_SECRET=xxx
```

#### 3. How can I use it?

[](#3-how-can-i-use-it)

```
use Tinfot\Faceplusplus\Facades\Faceplusplus;

// Get human body by a image(base64).
Faceplusplus::humanBodyByBase64("data:image/jpeg;base64,......");

// Get human body by a image url.
Faceplusplus::humanBodyByImageUrl("https://google.com/image.jpg");

// Human beautify
Faceplusplus::faceBeautifyByBase64("data:image/jpeg;base64,......");

// Human beautify by image url
Faceplusplus::faceBeautifyByImageUrl("https://google.com/image.jpg");

// Compare 2 image(base64).
Faceplusplus::faceCompareByBase64("data:image/jpeg;base64,......", "data:image/jpeg;base64,......");

// Compare 2 face photo by image url.
Faceplusplus::faceCompareByImageUrl("https://google.com/image1.jpg", "https://google.com/image2.jpg");
```

Support
-------

[](#support)

Support only through Github. Please don't mail us about issues, make a Github issue instead.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~49 days

Recently: every ~63 days

Total

7

Last Release

2478d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30b305b986af849f4f84ef96fa8b09a2c3b7adeba5837d4abb18d3d9a3e84fdc?d=identicon)[RichardTian](/maintainers/RichardTian)

---

Top Contributors

[![tinfot](https://avatars.githubusercontent.com/u/7608203?v=4)](https://github.com/tinfot "tinfot (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tinfot-faceplusplus/health.svg)

```
[![Health](https://phpackages.com/badges/tinfot-faceplusplus/health.svg)](https://phpackages.com/packages/tinfot-faceplusplus)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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