Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZF2NoCaptcha

This Laminas Captcha adapter uses Google's reCAPTCHA php library (see here: https://github.com/google/recaptcha).

##USAGE

  • Pull it from composer
composer require srggroup/zf2nocaptcha
  • Define the helper in your Laminas module config:
'view_helpers'=>array(
	'invokables'=>array(
		'recaptcha.helper'=>'NoCaptcha\NoCaptchaHelper'
	)
)
  • Integrate it into the form like the standard laminas recaptcha element
$adapter = new \NoCaptcha\NoCaptchaAdapter($siteKey, $secreteKey);

I've used some code from this repository: https://github.com/szmnmichalowski/ZF2-NoCaptcha

About

Google's ReCaptcha for ZendFramework2

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages