PHP code example of souravmsh / easy-captcha

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

    

souravmsh / easy-captcha example snippets


return [
    // ...
    Souravmsh\EasyCaptcha\EasyCaptchaServiceProvider::class,
];

'providers' => [
    // ...
    Souravmsh\EasyCaptcha\EasyCaptchaServiceProvider::class,
],

use Illuminate\Http\Request;
use Souravmsh\EasyCaptcha\Rules\Captcha;

public function submit(Request $request) {
    // Option 1: String rule (Standard)
    $request->validate([
        'captcha' => 'te([
        'captcha' => '
bash
php artisan vendor:publish --tag=easy-captcha-config
bash
php artisan vendor:publish --tag=easy-captcha-config --force