Anonymous Anonymous - 1 month ago
273 0

One of the ways to filter bot traffic is by using reCAPTCHA. It is a reverse Turing Test method to draw a line between organic and bots. reCAPTCHA, a rework of once-popular CAPTCHA, is a free online tool acquired and provided by Google.

It is a combination of knowledge and recognition-based interpretive response based on answer selection. The methodology lies in the machine learning from the Google’s large data sets of human interaction with the web, which is slightly different and random compared to a bot.

Source: https://www.cloudways.com/blog/use-recaptcha-laravel-forms-validation/

PHP

ReCAPTCHA In Laravel 5.2 Forms For Validation

<?php
 
Route::get('/',function() {
return view('files.captchaform');
});
 
Route::get('captcha-form-validation',array('as'=>'google.get-recaptcha-validation-form','uses'=>'FileController@getCaptchaForm')) ;
Route::post('captcha-form-validation',array('as'=>'google.post-recaptcha-validation','uses'=>'FileController@postCaptchaForm')) ;
 
?>