Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 2.15 KB

index.md

File metadata and controls

48 lines (31 loc) · 2.15 KB

This is a Play Framework module, for Scala and Play 2.x, to provide integration with Google reCAPTCHA in a reactive (non-blocking) manner.

##Module Release

Module Revision reCAPTCHA Versions Play Version Scala Versions ScalaDoc
1.0 v1, v2 2.3.x 2.10, 2.11 ScalaDoc

###Changelog

####Release 1.0

  • Added support for reCAPTCHA version 2 (aka no-captcha reCAPTCHA)

####Release 0.9

  • Added full support for internationalisation (Play i18n and reCAPTCHA language and custom strings)
  • Added security settings (invoke service and widget using HTTP or HTTPS)

####Release 0.8

  • Initial release

##Module Dependency The play-recaptcha module is distributed using Maven Central so it can be easily added as a library dependency in your Play Application's SBT build scripts, as follows:

"com.nappin" %% "play-recaptcha" % "1.0"

##How to use Please see these examples:

reCAPTCHA version 1 example

reCAPTCHA version 2 example

for ready-to-use internationalised Scala Play 2.x web applications using this module. You can download this code and run it in Play, or you can follow the instructions below to add this module to an existing web application.

The play-recaptcha module comes with two APIs:

Unless you are using a non-standard approach in your Play 2 Scala applications, the High Level API is the one to use - it is much simpler and requires much less code.