PHP code example of rightrun / proof-identity

1. Go to this page and download the library: Download rightrun/proof-identity 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/ */

    

rightrun / proof-identity example snippets

shell

#单个测试
#国家游戏防沉迷实名测试
phpunit --bootstrap tests/bootstrap.php tests/Cases/WlcnppaProofTest.php
#国家游戏防沉迷系统账号激活单元测试
phpunit --bootstrap tests/bootstrap.php tests/Cases/WlcnppaActivationTest.php


#阿里 
phpunit --bootstrap tests/bootstrap.php tests/Cases/AliyunProofTest.php