PHP code example of libcyber / geetest

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

    

libcyber / geetest example snippets


LibCyber\Geetest\GeetestServiceProvider::class,

 'Geetest' => LibCyber\Geetest\Geetest::class,
 

{!! Geetest::render() !!}

$this->validate($request, [
    'geetest_challenge' => '')
]);
shell
php artisan vendor:publish --provider='LibCyber\Geetest\GeetestServiceProvider'