jimchen / mobile-realname-verify
手机号实名认证
v2.0.0
2018-09-27 02:54 UTC
Requires
- php: >=5.5
- ext-json: *
- ext-openssl: *
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- mockery/mockery: ^0.9
- phpunit/phpunit: ^4.8
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