PHPackages                             thefunpower/faceplus - 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. thefunpower/faceplus

ActiveLibrary

thefunpower/faceplus
====================

faceplus

v2.0.0(2y ago)06Apache-2.0PHP

Since Apr 11Pushed 2y agoCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

faceplus
========

[](#faceplus)

### 安装

[](#安装)

```
composer require thefunpower/faceplus

```

### 使用

[](#使用)

```
$file = __DIR__.'/face/d.jpg';
$faceplus = new faceplus;
//人脸检测
//$face = $faceplus->get_detect($file);

$token = '9c5598****936cb25bac2be4b';
//搜索
$find = $faceplus->get_search($token);
pr($find);

```

搜索返回数据

```
(
    [data] => Array
        (
            [facetoken] => 9c5598d16abac2be4b
            [confidence] => 97.237
            [flag] => 1
        )

    [code] => 0
    [type] => success
)

```

mysql
-----

[](#mysql)

```

CREATE TABLE `faceplus_detect` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uni` varchar(255) NOT NULL,
  `face_token` varchar(255) NOT NULL,
  `outer_id` varchar(255) NOT NULL,
  `gender` varchar(50) NOT NULL,
  `age` varchar(10) NOT NULL,
  `beauty` varchar(200) NOT NULL,
  `glass` varchar(10) NOT NULL,
  `created_at` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4;

CREATE TABLE `faceplus_outer_id` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `outer_id` varchar(255) NOT NULL,
  `face_tokens` text NOT NULL,
  `num` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4;

```

### 开源协议

[](#开源协议)

[Apache License 2.0](LICENSE)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

767d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6f09836c59d691e60dd442ee29a2b6673d2c8c319b248aedcde7103f17201e1?d=identicon)[sunkangchina2022](/maintainers/sunkangchina2022)

---

Top Contributors

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

---

Tags

php

### Embed Badge

![Health badge](/badges/thefunpower-faceplus/health.svg)

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

###  Alternatives

[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)

PHPackages © 2026

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