Download the PHP package imgk/captcha without Composer
On this page you can find all versions of the php package imgk/captcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package captcha
Short Description Laravel 5 & 6 & 7 Captcha Package
License MIT
Homepage https://github.com/WebGameLinux/laravel-cap
Informations about the package captcha
Captcha for Laravel 5/6/7
A simple Laravel 5/6/7 service provider for including the Captcha for Laravel.
base on News\Captcha
change ext-gd to ext-imagick ,new\captcha is use php gd2 ext
imgk\captcha use php imagick ext
Preview
Installation
The Captcha Service Provider can be installed via Composer by requiring the
imgk/captcha
package and setting the minimum-stability
to dev
(required for Laravel 5) in your
project's composer.json
.
or
Require this package with composer:
Update your packages with or install with .
In Windows, you'll need to include the Imagick DLL php_imgick.dll
in php.ini. And you also need include php_fileinfo.dll
and php_mbstring.dll
to fit the requirements of imgk/captcha
's dependencies.
Usage
To use the Captcha Service Provider, you must register the provider when bootstrapping your Laravel application. There are essentially two ways to do this.
Find the providers
key in config/app.php
and register the Captcha Service Provider.
for Laravel 5.1+
Find the aliases
key in config/app.php
.
for Laravel 5.1+
Configuration
To use your own settings, publish config.
config/captcha.php
Example Usage
Session Mode:
Stateless Mode:
You get key and img from this url
http://localhost/captcha/api/math
and verify the captcha using this method:
Return Image
or
Return URL
or
Return HTML
or
To use different configurations
etc.
Based on Intervention Image
^_^
Links
All versions of captcha with dependencies
ext-imagick Version *
illuminate/config Version ~5.0|^6.0|^7.0
illuminate/filesystem Version ~5.0|^6.0|^7.0
illuminate/support Version ~5.0|^6.0|^7.0
illuminate/hashing Version ~5.0|^6.0|^7.0
illuminate/session Version ~5.0|^6.0|^7.0
intervention/image Version ~2.5