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.
Vendor johnson Package yii2-pattern-captcha Short Description Yii2 pattern captcha is nine dots based pattern Captcha to match with the numbers given in the box License
MIT
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.
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
ajaxUrl - the verification call will be made to this URL
name - the input field that will be amended in the widget. Later you can verify if the value of the input given by you has empty value then the captcha failed or if it has value as true then captcha has been passed.
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
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 ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.