PHP code example of codemonkeyluffy / laravel-geetest

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

    

codemonkeyluffy / laravel-geetest example snippets


	CodeMonkeyLuffy\Geetest\GeetestServiceProvider::class,
	

     'Geetest' => CodeMonkeyLuffy\Geetest\Facades\Geetest::class,
     

{!! Geetest::render("Div Id","Input Width") !!}

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