2017 © Pedro Peláez
 

library china-id

中国公民身份证号码验证,解析,生成

image

zudar/china-id

中国公民身份证号码验证,解析,生成

  • Monday, February 27, 2017
  • by zudar
  • Repository
  • 2 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

china-id

中国身份证号码解析,验证及生成, (*1)

身份证号码验证, (*2)


$id=new ID18('320706199108093125');
$id->isValidate();

身份证号码解析, (*3)


$id=new ID18();
$id->setIdNum('320706199108093125');
$id->getBirthday();//出生日期
$id->getArea();//地区
Gender::getDesc($id->getGender());//性别

身份证号码生成, (*4)


$id=new ID18();
for($i=0;$igenerate();//生成身份证号码
    $id->setIdNum($idNum);
    echo $id;
}

The Versions

27/02 2017

dev-master

9999999-dev

中国公民身份证号码验证,解析,生成

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar zudar

id china china id

23/02 2017

1.1.0

1.1.0.0

中国公民身份证号码验证,解析,生成

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar zudar

id china china id

22/02 2017

1.0.0

1.0.0.0

中国公民身份证号码验证,解析,生成

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar zudar

id china china id