shadowprince / forman-recaptcha
Recaptcha plugin for shadowprince/forman
0.2.2
2013-11-13 20:08 UTC
Requires
- php: >=5.2.0
- recaptcha/php5: 1.0.0
- shadowprince/forman: >=0.2
This package is not auto-updated.
Last update: 2024-12-17 02:16:51 UTC
README
Forman-Recaptcha - plugin for forman, adding field Recaptcha for easy recaptcha integration. It validates on validate()
method, sets errors; you just need to add new \Forman\Field\Recaptcha()
to your form to use it.
$form = new \Forman\Form( new \Forman\Field\Value("name"), (new \Forman\Field\Recaptcha())->setKeys("private", "public") );
You can set default keys by
\Forman\Field\Recaptcha::defaultKeys("private", "public");
Uses recaptcha/php5.