|Classes of Alessio Felicioni||CodeIgniter ReCaptcha Helper||README.md||Download|
Little package to get [recaptcha] working on [codeigniter]
Setup and obtain a key pair from [recaptcha admin console] for your project domain; both are required. The firs is used on captcha widget rendering, the second when checking response validity.
It's also important to check the URL endpoint to be used for remote validation; the information is available under server side integration step.
Please note that default shipped configuration is using test keys, so you have to replace them in
According to [documentation], config variables can be mapped to customize widget, like theme, size, etc.
A way to install via composer is allowed referencing packagist handle [afelicioni/codeigniter-recaptcha] like
in a custom composer.json and to be triggered by
how to use
Functionality is split in two parts, for widget rendering and response verification.
First, be sure to load library
In controller, call
To verify response, call
Strict check for IP address
by Alessio Felicioni | Github
: http://www.codeigniter.com/ : https://developers.google.com/recaptcha/ : https://developers.google.com/recaptcha/docs/display : https://developers.google.com/recaptcha/docs/verify : https://developers.google.com/recaptcha/intro : https://www.google.com/recaptcha/admin : https://packagist.org/packages/afelicioni/codeigniter-recaptcha