jimchen/mobile-realname-verify

v2.0.0 2018-09-27 02:54 UTC

This package is auto-updated.

Last update: 2022-04-27 11:33:54 UTC


README

手机号实名认证

Requirement

  • PHP >= 5.5

Installing

$ composer require jimchen/mobile-realname-verify:~2.0

Usage

use JimChen\Authentication\Authentication;
use JimChen\Authentication\Gateways\JuheGateway;

$juhe = \JimChen\Authentication\Authentication::juhe([
    'key'    => 'your key',
    'openid' => 'your openid',
    'type'   => JuheGateway::COMMON
]);

// 手机号码实名认证
$juhe->verify('Real Name', 'ID Card', 'Mobile Number');

License

MIT