Download the PHP package lubosdz/yii2-captcha-extended without Composer

On this page you can find all versions of the php package lubosdz/yii2-captcha-extended. 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-captcha-extended

Yii2 Captcha Extended

Yii2 Captcha Extended is an extension written for Yii2 framework. It enhances original captcha code delivered along with the framework - see DEMO. Version for Yii 1.x is available at Yii Framework Extensions.

Features

Screenshot Screenshot
Screenshot Screenshot
Screenshot
Screenshot

INSTALLATION

1) Install via composer:

or you can include the following in your composer.json file:

2) Define action in controller, e.g. SiteController:

3) Define client validation in LoginForm::rules():

4) In view defined captcha field inside login form e.g.:

5) If needed, collect localized strings via CLI command yiic message messages/config.php and translate captcha related strings.

6) Since by default capchta configures to default framework's settings, you may want to adjust some options:

* `mode` - default|math|mathverbal|logical|words,
    * for the `words` mode, you can replace your own file [words.txt] or [words.yourlanguage.txt]
* `density` - dots density [0-100],
* `lines` - the number of through lines [0-20],
* `fillSections` - the number of fillSections [0-20],
* `letters` - define your own first characters set (UTF-8 supported)
* `vowels` - define your own second characters set (UTF-8 supported)
* `resultMultiplier` - applied to math mode to increase formula difficulty
* `fileWords` - abs. path to file with your own defined locale words (UTF-8 supported)
* `randomUpperLowerCase` - mix up randomly upper & lower characters from characters sets
* `paramRefreshUrl` - set your own URL refresh param, defaults to `v`
* also note standard properties supported by framework: `width`, `height`, `padding`, `offset`, `foreColor`, `backColor`, `transparent`, `minLength`, `maxLength`, ..

7) Enjoy! :-)

Changelog

Version 1.0.5 - Nov 7, 2023

Version 1.0.4 - Jun 30, 2021

Version 1.0.3 - Jun 07, 2020

Version 1.0.2 - Feb 25, 2020

Version 1.0.1 - May 21, 2018

Version 1.0.0 - March 28, 2018


All versions of yii2-captcha-extended with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
yiisoft/yii2 Version 2.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 lubosdz/yii2-captcha-extended contains the following files

Loading the files please wait ....