PHP code example of kashif / captcha

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

    

kashif / captcha example snippets


    Kashif\Captcha\CaptchaServiceProvider::class,
   

    use Kashif\Captcha\Captcha;
    $captcha = Captcha::render();
    return view('view',compact('captcha'));
    
    {!! $captcha !!}

  

    captcha();
  

    @captcha
  

     Captcha::verify("captcha text");
     
   

      captcha_verify("captcha text");
   

 php artisan vendor:publish --tag=kashif