PHP code example of afromansr / laravel-math-captcha

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

    

afromansr / laravel-math-captcha example snippets


public function handleForm(Request $request)
{
     $this->validate( $request, [
         '_answer'=>'

$ php artisan vendor:publish --tag=captcha-config