PHPackages                             echosong/wxpayface - 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. [Payment Processing](/categories/payments)
4. /
5. echosong/wxpayface

ActiveLibrary[Payment Processing](/categories/payments)

echosong/wxpayface
==================

微信刷脸支付，刷脸支付服务端 sdk 官方改造

v1.0.0(6y ago)3224MITPHP

Since Nov 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Echosong/WxPayFace)[ Packagist](https://packagist.org/packages/echosong/wxpayface)[ RSS](/packages/echosong-wxpayface/feed)WikiDiscussions master Synced today

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

WxPayFace
=========

[](#wxpayface)

微信刷脸支付,服务端sdk 支持composer

```
require_once __DIR__ . '/vendor/autoload.php';
use  Echosong\WxpayFace;
use Echosong\WxpayFace\Request;

$WxPayConfig = new WxpayFace\WxPayConfig();

/***************获取authinfo 具体参数参考官方文档****************/
$request = new Request\WxPayAuthInfo(App::payConfig());
$request->SetRawdata($rawdata);
$request->setName('测试');
$request->setStoreId('test');
$request->setDeviceId('test0002');
$result = WxpayFace\WxPayApi::authInfo($request, $WxPayConfig);
print_r($result) ;

/***************提交人脸支付 具体参数参考官方文档文档****************/
$request = new Request\WxPayFacePay(App::payConfig());
$request->SetDevice_info('***');
$request->SetBody("测试人脸支付一笔订单");
$request->SetDetail('测试支付商品');
$request->SetAttach('原样返回数据');
$request->SetOut_trade_no('112233'); //订单号
$request->SetTotal_fee(100); //单位分
$request->SetSpbill_create_ip('127.0.0.1');
$request->SetOpenId('***');
$request->SetFace_code('***');
try{
    $result = WxpayFace\WxPayApi::facepay(App::payConfig(),$request);
}catch (Exception $exception){
    var_dump($exception->getMessage());
}
var_dump($result);
```

> 微信刷脸、支付宝刷脸、聚合支付扫码 被扫 联系qq 313690636

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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

2370d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6124880?v=4)[二胡子](/maintainers/Echosong)[@Echosong](https://github.com/Echosong)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/echosong-wxpayface/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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