bearlikelion / twig-recaptcha
A Twig extension to provide reCAPTCHA functionality.
1.0.0
2014-08-29 16:21 UTC
Requires
- php: >=5.3.0
- recaptcha/php5: v1.1.0
- twig/twig: *
This package is auto-updated.
Last update: 2024-11-27 05:11:04 UTC
README
A simple twig extension to provide a recaptcha function to display reCAPTCHA.
Requirements:
Installation
"require": {
"bearlikelion/twig-recaptcha": "1.0.0",
}
Example
$twig = new Twig_Environment(new Twig_Loader_Filesystem('Views')); $twig->addExtension(new Bearlikelion\TwigRecaptcha\Extension([ 'public' => '', 'private' => '' ]));
<html> <body> {{ recaptcha() }} </body> </html>