Download the PHP package traw/powermailcaptcha without Composer

On this page you can find all versions of the php package traw/powermailcaptcha. 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 powermailcaptcha

powermailcaptcha

Captcha Extension for TYPO3 powermail to prevent spam

Dependencies

Installation

Just install this extension via composer composer require traw/powermailcaptcha

Google Recaptcha

Friendly Captcha

hCaptcha

Cloudflare

Prosopo Procaptcha

General

Example for TypoScript Constants:

Disable captcha

From versions >= 1.3.0

In case you wish to disable the captcha temporarily, just add the following line to your typoscript constants: plugin.tx_powermailcaptcha.enable = 0

You can also find this option in the Constant Editor.

Captcha Language

From Versions >=1.1.0

The current language is added to the captcha via language parameter which is taken from your Site Configuration.

To disable this behavior, add the following to your Typoscript Constants:

Depending on your website language, not all languages are supported for every Captcha-Method. Read

for further information on supported language codes.

Common pitfalls and best practice

spamshield must be enabled in powermail (TypoScript setup):

Keep up to date if powermail recognize spam (TypoScript setup):

Remove the default captcha field by adding the following to your Page TSConfig: TCEFORM.tx_powermail_domain_model_field.type.removeItems = captcha

Breaking change - Upgrade from <1.5.0 to >=1.5.0

The typoscript has previously been automatically loaded in a Preset TypoScript setup file. However, this is no longer the case. In multisite environments where some websites dont use powermail the typoscript is not needed.
Also in some case it's hard to override settings which are made in a Preset TypoScript (for example: ext_typoscript_setup.typoscript).

Therefore, from version 1.5.0 and up the typoscript has to be manually added in your website's static template.

Upgrade from 1.0.x to >=1.1.x

If you override powermail's partial Partial/Form/Page.html in your own extension, make sure to add the variable languageIso to the f:render of the Fields.

e.g.

If you override powermail's FormController in your own extension, please see EXT:powermailcaptcha/Classes/Controller/FormController.php on how this extension adds the language variable.

Credits

This extension is based on EXT:powermailrecaptcha by einpraegsam.

Changelog

Version Date Description
2.1.0 2024-09-25 Feature: add Prosopo Procaptcha captcha method
2.0.0 2024-07-31 Dropped support for TYPO3 11 and older powermail version
1.6.0 2024-04-24 Feature: add Cloudflare Turnstile captcha method
1.5.0 2024-04-24 Feature: add typoscript as a static template
1.3.0 2023-06-05 Feature: add option to disable frontend output
1.2.0 2023-06-02 Code Maintenance: simplifiy controller code
1.1.0 2023-05-11 Add option to force website language onto the Captcha
1.0.0 2022-10-18 Initial release

All versions of powermailcaptcha with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
in2code/powermail Version ^12.0
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 traw/powermailcaptcha contains the following files

Loading the files please wait ....