Giter Site home page Giter Site logo

ahornlabs / friendly-captcha-neos Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 198 KB

Neos package for Friendly Captcha. Add form element to protect web forms from spam with Friendly Captcha.

License: GNU General Public License v3.0

PHP 77.43% HTML 22.57%
captcha forms friendly-captcha spam-protection web-forms neoscms

friendly-captcha-neos's Introduction

Friendly Captcha integration for Neos Form Framework

This package add a form element which integrates Friendly Captcha verification to your form.

Please note: You need an Friendly Captcha account to use these package.

Installation

The package can be installed via Composer.

$ composer require ahorn/friendlycaptcha

Configuration

You need to add your Site Key (siteKey) and API Key (secretKey) from you Friendly Captcha account. You can specify the default widget language and when the widget should start solving the puzzle. Please have a look at the official Friendly Captcha Widget API if you need more informations.

Ahorn:
  FriendlyCaptcha:
    siteKey: 'add-you-site-key'
    secretKey: 'add-you-secret-key'
    language: 'de'
    startVerification: 'auto'

In production environment we strictly recommend to use environment variables to set the values.

Add form element with Neos.Form.Builder

Create a new form in Neos backend. Add the new Friendly Captcha form element to you form.

Captch Element

Language Support

The package supports language content dimensions and set the language of the widget based on the language dimension. At the moment the package support only 2 characters to identify the language. If you are using more then 2 characters (e.g. en-us) to define the language, this identifier is cropped to the first two characters.

If you want to overrite the language of the widget, you can do this in the Neos backend.

Override Settings

You can override the following configurations in the node properties:

  • Site Key
  • Secret Key
  • Language of the Widget
  • Verification start

friendly-captcha-neos's People

Contributors

koehlerannkathrin avatar mchh avatar

Watchers

 avatar  avatar

friendly-captcha-neos's Issues

Type "Ahorn.FriendlyCaptcha:Captcha" not found

I am assuming this is no longer maintained. the composer require command is wrong. it is "composer require ahorn/friendlycaptcha"

The main issue i am facing is that it throws the Error after install: Type "Ahorn.FriendlyCaptcha:Captcha" not found.

It may also be a simple error on my end.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.