PHP code example of qianlongzt / cet
1. Go to this page and download the library: Download qianlongzt/cet 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/ */
qianlongzt / cet example snippets
php
= '1234567891012345';
$name = '张三';
$source = '99sushe'; # chsi (学信网), 99sushe(99宿舍)
$cetScore = Qianlongzt\Cet\CetScore::getScore($name, $ticket, $source);
var_dump($cetScore);
php
new Qianlongzt\Cet\CetSchoolCode();
var_dump($code->getName('3303070'));
array(1) {
[0]=>
string(24) "杭州电子科技大学"
}