Download the PHP package nikazooz/laravel-captcha without Composer
On this page you can find all versions of the php package nikazooz/laravel-captcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-captcha
Laravel Captcha
Package for Laravel to easily generate and validate CAPTCHA.
Requirements
Version | PHP | Laravel | Status |
---|---|---|---|
0.1.* | >=7.0 | ^5.5 | Not supported |
1.* | >=7.2 | >=6.0 | Supported |
ImageMagick or GD extension for PHP is required to use with included drivers.
Verification code is stored in session, so session needs to be active on validated route and on web middleware group.
Installation
Configuration
To change configurations, you need to publish the configurations file.
Reading the config file is the best way to find out what can be configured.
Usage
Easily get URL at which CAPTCHA image is available using the facade:
It adds
v
query parameter with random value in order to avoid browser caching.
To validate the code sent in request, use captcha
validator, registered by the package, on that parameter.
If you need the verification code, for example in tests, you can get it with the facade: Captcha::code();
License
The package is open-sourced software licensed under the MIT license.
All versions of laravel-captcha with dependencies
illuminate/config Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/contracts Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/http Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/routing Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/session Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/validation Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0