Recaptcha plugin for shadowprince/forman

Installs: 12

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

0.2.2 2013-11-13 20:08 UTC


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.