PHP code example of zhangqiang / verify
1. Go to this page and download the library: Download zhangqiang/verify 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/ */
zhangqiang / verify example snippets
if(\Yii::$app->idcard->check('41128219910222051')){
echo "该身份证号码正确";
} else {
echo "该身份证号码有误";
}