Download the PHP package php-captcha/captcha without Composer
On this page you can find all versions of the php package php-captcha/captcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package captcha
phpCaptcha
php image captcha , need GD extension.
require
Predis
install
composer.json
require: {
"php-captcha/captcha": "~1.0"
}
example
-
use base64 string
use Captcha\CaptchaManager $redisClient = ...; $identity = ...; $captcha = new CaptchaManager($redisClient); $base64ImageString = $captcha->createBase64ImageCaptcha($identity); $response = ...; $response->setBody($base64ImageString); return $response;
-
use content-type:image/png
use Captcha\CaptchaManager $redisClient = ...; $identity = ...; $captcha = new CaptchaManager($redisClient); $captcha->createStreamImageCaptcha($identity); $response = ...; $response->headers->add([Content-type' => 'image/png']); return $response;
All versions of captcha with dependencies
PHP Build Version
Package Version
The package php-captcha/captcha contains the following files
Loading the files please wait ....