Download the PHP package networkteam/fusionform-altcha without Composer
On this page you can find all versions of the php package networkteam/fusionform-altcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download networkteam/fusionform-altcha
More information about networkteam/fusionform-altcha
Files in networkteam/fusionform-altcha
Package fusionform-altcha
Short Description Use ALTCHA Next-Gen Captcha with Neos.Fusion.Form in Neos CMS
License MIT
Informations about the package fusionform-altcha
ALTCHA Next-Gen Captcha for Neos.Fusion.Form
Use ALTCHA Next-Gen Captcha with Fusion Form in Neos CMS.
Inspired by NeosRulez.Neos.Form.AltchaCaptcha
This package provides a Fusion Form field, which renders and the captcha. Your form will be protected when using the field in combination with the captcha validator.
Installation
Networkteam.FusionForm.Altcha is available via packagist. Run composer require networkteam/fusionform-altcha
to install.
Internally it requires the networkteam/flow-altcha package for
Neos Flow framework, which brings basic functionality such as ALTCHA service and captcha validator.
Configuration:
The only thing you need to do to make the package work, is to set up an HMAC key for the challenge calculation. Do so by
adding the key to setting Networkteam.Flow.Altcha.challenge.hmac
. Ensure NOT to expose this key to the client.
All configuration options can be found in Networkteam.Flow.Altcha
package:
Packages/Application/Networkteam.Flow.Altcha/Configuration/Settings.yaml
Usage with Neos.Fusion.Form
To make use of the captcha you must extend an existing Neos.Fusion.Form form by adding the captcha field
Networkteam.FusionForm.Altcha:Captcha
to form content. Wrap it in Neos.Fusion.Form:FieldContainer
to make use of
error message rendering.
Then add the captcha field with validator to schema definition:
Example of simple contact form
Add ALTCHA JavaScript widget
The captcha field needs JavaScript for rendering the ALTCHA widget. You
can use the fusion prototype Networkteam.FusionForm.Altcha:Script
inside head.javascripts
section of Neos.Neos:Page
or CDN as described in ALTCHA documentation.
Add JavaScript to head of Neos.Neos:Page
Alternatively, install the NPM package altcha and import it to your build process.
Usage with Sitegeist.PaperTiger
This package ships with a content element for Sitegeist.PaperTiger:
Networkteam.FusionForm.Altcha:PaperTiger.Field.Captcha
.
If you use Sitegeist.PaperTiger in your project, the content element is available within group form.special
of Neos UI
content dialog.
FAQ
How can I use different challenge configuration in my project
If you want to create different challenges for different forms in your project you can override the global challenge configuration via eel helper in Fusion. Additionally, you have to configure the captcha validator in your schema with the same options.
Override challenge via prototype nesting and configure schema captcha validator