PHP code example of pokeguys / luosimao-captcha

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

    

pokeguys / luosimao-captcha example snippets


'providers' => [
    // Other Service Providers

    Pokeguys\Luosimao\LuosimaoServiceProvider::class,
],

'aliases' => [
  // Other Aliases

  'Luosimao' => Pokeguys\Luosimao\Facades\Luosimao::class,
],

[
  // Other validation message

  'luosimao' => 'The :attribute field is not correct.',
]

$rules = [
    // ...
    'luosimao' => '