PHP code example of yiche / bank100-client

1. Go to this page and download the library: Download yiche/bank100-client library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

yiche / bank100-client example snippets


    $info = Bank100MobileVerifyAgent::recordAgent($name, $mobile, $idcard) : array
    
    [
            "result"    => $result,  //0:查无此号;1:一致;2:不一致;空 当operation=4时,result为空 
            "operation" => $operation, //1:电信 2:联通 3:移动 4:其他,如170号段等 
    ]=$info