sweet-captcha
IMPORTANT MALWARE ISSUE: https://blog.sucuri.net/2015/06/sweetcaptcha-service-used-to-distribute-adware.html, (*1)
Laravel 4 Sweet Captcha Package
This package provides an easy and quick integration of the sweetCaptcha service for Laravel 4., (*2)
Installation
Begin by installing this package through Composer. Edit your project's composer.json file to require jordij/sweet-captcha., (*3)
"require": {
"jordij/sweet-captcha": "dev-master"
},
Save the changes and run a composer update:, (*4)
composer update, (*5)
Add 'Jordij\SweetCaptcha\SweetCaptchaServiceProvider' to the providers array in your app/config/app.php, (*6)
Configuration
Register your sweetCaptcha account here. Set the ApplicationID, the key and the secret in the package configuration file config/config.php., (*7)
Localization
By default the package will use the current locale of your Laravel application. If by any reasons you want to set a fixed locale you can do it by editing the package configuration file config/config.php., (*8)
Usage
In your form:, (*9)
{{ Form::sweetcaptcha() }}
Add 'sckey' => 'sweetcaptcha' to your rules array before validating the form., (*10)
If you want to change the error message you can do it in the package language file lang/en/validation.php, (*11)