1. Go to this page and download the library: Download onliner/geetest-php-sdk 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/ */
onliner / geetest-php-sdk example snippets
const ID = '58f984fb3d1f7f4732a74b3cda273eed';
const KEY = '58f984fb3d1f7f4732a74b3cda273eed';
$geetest = new GeeTest(ID, KEY);
$register = $geetest->register()->toArray();
$geetest = new GeeTest(ID, KEY);
$geetest->validate($challenge, $validate, $seccode, true);
$geetest = new GeeTest(ID, KEY);
$geetest->validate($challenge, $validate, $seccode, false);
composer
"onliner/geetest-php-sdk": "^1.0"
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.