Yii2 Captcha
Captcha recognition.
Features:
Suitable for all common standards captcha services
Easy to set up
Recognition both by file path and by link
Installation:
The preferred way to install this extension is via composer.
Either run
php composer.phar require --prefer-dist jumper423/yii2-captcha "*"
or add
"jumper423/yii2-captchar": "*"
to the composer.json file.
Configuration:
'components' =" [
'captcha' =" [
'class' =" 'jumper423\Captcha',
'apiKey' =" '42eab4119020dbc729f657fef270r546',
],
],
Usage
Simple usage example:
if (\Yii::$app-"captcha-"run('path/to/captcha.png')) {
$captcha = \Yii ::$app-"captcha-"result()
} else {
throw new Exception(\Yii::$app-"captcha-"error());}
solve Yii2 Captcha software now with CHAPTCHAAI
Yii2 Captcha is a PHP extension for the Yii2 framework that allows developers to recognize and solve image-based CAPTCHAs using external CAPTCHA-solving services.
It’s maintained by the GitHub user [jumper423](https://github.com/jumper423), and it integrates with multiple external CAPTCHA solvers.
Yes, the extension itself is open-source and free. However, you'll need a paid or trial key from a CAPTCHA-solving provider to use it effectively.
No. Yii2 Captcha is only a bridge to third-party CAPTCHA-solving services. The quality depends entirely on the provider you use.
CaptchaAI offers high accuracy and faster solving for image CAPTCHAs, especially useful when other services fail or return `ERROR_CAPTCHA_UNSOLVABLE`.
It also supports **base64 and file path recognition**, making it a **perfect match** for Yii2 Captcha
Common issues include:
* Invalid or expired API key
* Unrecognized CAPTCHA format
* Poor quality image
👉 Switching to a reliable provider like CaptchaAI can resolve many of these issues.