PHP code example of chujc / id-card
1. Go to this page and download the library: Download chujc/id-card 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/ */
chujc / id-card example snippets
IdCard::check('5100199909090009');
$v = Validator::make($data, [
'id' => new IdCardRule(),
]);