2017 © Pedro Peláez
 

yii2-extension yii2-rucaptcha

Yii2 rucaptcha.com captcha recognition extension.

image

gladyshev/yii2-rucaptcha

Yii2 rucaptcha.com captcha recognition extension.

  • Tuesday, September 12, 2017
  • by gladyshev
  • Repository
  • 1 Watchers
  • 1 Stars
  • 92 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Yii2 Rucaptcha Extension

An extension for resolving captcha with Rucaptcha.com. It's just a wrapped gladyshev\rucaptcha-client library., (*1)

Rucaptcha API documentation is at official page., (*2)

Build Status Scrutinizer Code Quality, (*3)

Installation

The preferred way to install this extension is through composer., (*4)

Either run, (*5)

php composer.phar require --prefer-dist gladyshev/yii2-rucaptcha

or add, (*6)

"gladyshev/yii2-rucaptcha": "*"

to the require section of your composer.json file., (*7)

Setup

Setup rucaptcha component in your configuration file:, (*8)

    ...
    'components' => [
        ...
        'rucaptcha' => [
            'class' => 'gladyshev\yii\rucaptcha\Rucaptcha',
            'apiKey' => getenv('__RUCAPTCHA_KEY__'),
            'options' => [
                'verbose' => (YII_DEBUG === true)
            ]
        ],
        ...
    ],
    ...

Basic Usage

Recognize file or url:, (*9)

$captchaText = Yii::$app->rucaptcha->recognizeFile('http://example.com/image.jpg');

The Versions

12/09 2017

dev-master

9999999-dev

Yii2 rucaptcha.com captcha recognition extension.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

extension yii2 yii rucaptcha anticaptcha

12/09 2017

v1.0.1

1.0.1.0

Yii2 rucaptcha.com captcha recognition extension.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

extension yii2 yii rucaptcha anticaptcha

27/07 2017

v1.0.0

1.0.0.0

Yii2 rucaptcha.com captcha recognition extension.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

extension yii2 yii rucaptcha anticaptcha

19/05 2017

v0.0.1

0.0.1.0

Yii2 rucaptcha.com captcha recognition extension.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

yii rucaptcha anticaptcha