Download the PHP package johnson/yii2-pattern-captcha without Composer

On this page you can find all versions of the php package johnson/yii2-pattern-captcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yii2-pattern-captcha

Yii 2 - Pattern based captcha

yii2-pattern-captcha is a extension for Yii Framework version above 2.0.0 and it's new version of captcha or puzzle to solve smaller problems in order to make the web application is accessed by human.

Steps to follow.

Install via composer

composer require johnson/yii2-pattern-captcha

Then In your form

<?=
    JayPattern::widget([
    'ajaxUrl' => 'http://localhost/yii2-basic/web/index/login',
    'name' => 'pattern'
    ]);
?>

System will generate the dynamic numbers and the users need to draw pattern without releasing the mouse button!. Each single swipe or touch will be considered as pattern submission.

Parameters

The selector may be like this ===> input[name="< your-given-name >']

In your Controller

if (Yii::$app->request->isPost) {
            $jp = new \Johnson\JayPattern();

            echo json_encode($jp->verifyCode());
            Yii::$app->end();
 }

Please do your comments about improvements and other stuffs.


All versions of yii2-pattern-captcha with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii2 Version ~2.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package johnson/yii2-pattern-captcha contains the following files

Loading the files please wait ...