Skip to content

bearlikelion/twig-recaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Twig Recaptcha

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>

About

Twig extension to provide recaptcha functionality

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages