Download the PHP package insign/laravel-decaptcha without Composer
On this page you can find all versions of the php package insign/laravel-decaptcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download insign/laravel-decaptcha
More information about insign/laravel-decaptcha
Files in insign/laravel-decaptcha
Package laravel-decaptcha
Short Description A Laravel package for captcha recognition for popular services like rucaptcha.com, 2captcha.com, pixodrom.com, captcha24.com, socialink.ru, anti-captcha.com
License MIT
Informations about the package laravel-decaptcha
laravel-decaptcha
A Laravel package for captcha recognition for popular services like rucaptcha.com, 2captcha.com, pixodrom.com, captcha24.com, socialink.ru, anti-captcha.com
Features
- Suitable for all to recognize captchas services operating on common standards
- Easy setup
- Accept the file path or by reference
Installation
The preferred way to install this extension through [composer] (http://getcomposer.org/download/). Start by adding the package to require your composer.json
Run in your terminal:
Configuration
Having loaded dependencies and installed on your project, we will add ServiceProvider and facade.
ServiceProvider
You need to update your application configuration in order to register the package so it can be loaded by Framework.
Laravel
Just update your config/app.php
file adding the following code at the end of your 'providers'
section:
Lumen
Go to /bootstrap/app.php
file and add this line:
Facade
Adding a new item on its facade
Settings
To move the Decaptcha settings file to the Settings folder of your application, simply perform the following command:
In your.env
file, add the following values
Or simply edit the file config/decaptcha.php
Using
A simple example:
You can apply if you have only a reference to a captcha, but for this method, you should set the path in the configuration to save the captchas (DECAPTCHA_TMP var):
All versions of laravel-decaptcha with dependencies
illuminate/config Version ~5.1 || ~5.2 || ~5.3
illuminate/support Version ~5.1 || ~5.2 || ~5.3