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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package fusionform-altcha

MIT license Packagist

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


All versions of fusionform-altcha with dependencies

PHP Build Version
Package Version
Requires neos/neos Version ~8.3
neos/fusion-form Version ~2.3
networkteam/flow-altcha Version ~0.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package networkteam/fusionform-altcha contains the following files

Loading the files please wait ....