lotus / captcha
Create and validate captcha Image
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
pkg:composer/lotus/captcha
Requires
- php: ^5.3.3 || ^7.0
- ext-gd: *
This package is not auto-updated.
Last update: 2025-11-03 21:25:20 UTC
README
Build texture captcha is very easy using pw captcha.
include library file into your page. Create an object of the PwCaptcha class.
require_once 'src/Captcha.php'; $captcha = new lotus/Captcha();
To get output of captcha image use
$captcha->render();
#configre methods
$captcha->setIsMultiColourText( boolean )
set minimum character number
$captcha->setMinLength()
set maximum character length $captcha->setMaxLength()
set number og random straigth lines in background
$captcha->setNumberOfLines()
Min 1 and max is 100