Package Data | |
---|---|
Maintainer Username: | sb89 |
Maintainer Contact: | s.blake.08@aberdeen.ac.uk (Steven Blake) |
Package Create Date: | 2013-07-10 |
Package Last Update: | 2014-01-06 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 03:16:48 |
Package Statistics | |
---|---|
Total Downloads: | 947 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 1 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Laravel 4 Recaptcha Package
composer require sb89/recaptcha
.'Sb89\Recaptcha\RecaptchaServiceProvider'
to the providers array in app/config/app.php
.php artisan config:publish sb89/recaptcha
.app/config/packages/sb89/recaptcha/config.php
.app/lang/en/validation.php
('en' will depend on your language) e.g
'recaptcha'=>'Recaptcha is incorrect.'
Form::recaptcha()
'recaptcha_response_field' => 'required|recaptcha'
to your validation rules.The Recaptcha theme can be specified by using Form::recaptcha(array('theme'=>'clean'))
.
SSL can be specified by using Form::recaptcha(array('use_ssl'=>true))
.