PHP code example of jianhuawang / login-captcha

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

    

jianhuawang / login-captcha example snippets


    ...
    'admin' => [
        'length' => 4,
        'width' => 120,
        'height' => 36,
        'quality' => 90,
        'math' => false,
        'expire' => 60,
        'encrypt' => false,
    ],
    ...
    

...
   'name' => 'Laravel Admin',
   'html_name' => '<span style="color: #dddddd;">Laravel Admin</span><br/><span>login captcha</span>',
...